Revision code bundle
Get-EdgeworkerRevisionCodeBundle
Synopsis
Download the combined code bundle.
Syntax
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerName <String> -RevisionID <String> [-OutputFile <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerName <String> -RevisionID <String> [-OutputDirectory <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerID <Int32> -RevisionID <String> [-OutputDirectory <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerID <Int32> -RevisionID <String> [-OutputFile <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Downloads the combined code bundle that contains the code and dependencies that the EdgeWorker executes. You can save the bundle as a .tgz file (by default) and optionally specify the filename with the -OutputFile parameter. Alternatively, you can extract the files into the -OutputDirectory. You can specify an EdgeWorker by its name or ID.
Note: This operation requires that your OS have the
tarcommand configured (Unix, Windows 10 1803, and later).
Parameters
‑AccountSwitchKey | 
      
        
         An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.  | 
    
‑EdgeRCFile | 
      
        
         Your EdgeGrid resource file to authenticate your command. Defaults to   | 
    
‑EdgeWorkerIDConditionally required  | 
      
        
         Your EdgeWorker's ID.  | 
    
‑EdgeWorkerNameConditionally required  | 
      
        
         Your Edge Worker's name.  | 
    
‑OutputDirectory | 
      
        
         A directory to extract bundle contents into.  | 
    
‑OutputFile | 
      
        
         A TGZ filename to save bundle contents to.  | 
    
‑RevisionIDRequired  | 
      
        
         Your EdgeWorkers revision's ID.  | 
    
‑Section | 
      
        
         The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to   | 
    
Related Links
Updated 4 months ago
