< Back

Export-EdgeApi

Sun Jan 19, 2020 6:02 pm

NAME Export-EdgeApi



SYNOPSIS

Export an apiproxy from Apigee Edge, into a zip file.





SYNTAX

Export-EdgeApi [-Name] <String> [-Revision] <String> [[-Dest] <String>] [[-Org] <String>] [<CommonParameters>]





DESCRIPTION

Export an apiproxy from Apigee Edge, into a zip file.





PARAMETERS

-Name <String>

Required. The name of the apiproxy to export.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Revision <String>

Required. The revision of the apiproxy to export.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Dest <String>

Optional. The name of the destination file, which will be a ZIP bundle.

By default the zip file gets a name derived from the proxy name, the

revision, and the time of export.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Org <String>

Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-EdgeApi -Name oauth2-pwd-cc -Revision 4 -Dest bundle.zip













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$filename = $( Export-EdgeApi -Name oauth2-pwd-cc -Revision 4 )















RELATED LINKS