Revision code bundle
Get-EdgeworkerRevisionCodeBundle
Synopsis
Download the combined code bundle.
Syntax
name-file (Default)
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerName <String> -RevisionID <String> [-OutputFile <String>]
[-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
name-directory
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerName <String> -RevisionID <String> [-OutputDirectory <String>]
[-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
id-directory
Get-EdgeworkerRevisionCodeBundle -EdgeWorkerID <Int32> -RevisionID <String> [-OutputDirectory <String>]
[-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
id-file
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.
This operation requires that your OS have the tar
command configured (*nix, Windows 10 1803 and later).
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Run the Get-AccountSwitchKey
command to list the account switch keys available to you.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeWorkerID
Unique identifier for an EdgeWorker.
Type Int32
Parameter Sets id-directory, id-file
Aliases None
RequiredTrue
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeWorkerName
Name of the Edge Worker.
Type String
Parameter Sets name-file, name-directory
Aliases None
RequiredTrue
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-OutputDirectory
Directory to extract bundle contents into.
Type String
Parameter Sets name-directory, id-directory
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-OutputFile
TGZ filename to save bundle contents to.
Type String
Parameter Sets name-file, id-file
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-RevisionID
Unique identifier for an EdgeWorkers revision.
Type String
Parameter Sets (All)
Aliases None
RequiredTrue
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Related links
Updated 15 days ago