< Back
Import-EdgeApi
Post
NAME Import-EdgeApi
SYNOPSIS
Import an apiproxy from a zip file or exploded directory into Apigee Edge.
SYNTAX
Import-EdgeApi [-Name] <String> [-Source] <String> [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Import an apiproxy from a zip file or directory into Apigee Edge.
PARAMETERS
-Name <String>
Required. The name to use for the apiproxy, once imported.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Source <String>
Required. A string, representing the source of the apiproxy bundle to import. This
can be the name of a file, in zip format; or it can be the name of a directory, which
this cmdlet will zip itself. In either case, the structure must be like so:
.\\apiproxy
.\\apiproxy\\proxies
.\\apiproxy\\proxies\\proxy1.xml
.\\apiproxy\\policies
.\\apiproxy\\policies\\Policy1.xml
.\\apiproxy\\policies\\...
.\\apiproxy\\targets
.\\apiproxy\\resources
...
Required? true
Position? 2
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? 3
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:\\>Import-EdgeApi -Name oauth2-pwd-cc -Source bundle.zip
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Import-EdgeApi -Name oauth2-pwd-cc -Source .\\mydirectory
RELATED LINKS
Deploy-EdgeApi
Export-EdgeApi
SYNOPSIS
Import an apiproxy from a zip file or exploded directory into Apigee Edge.
SYNTAX
Import-EdgeApi [-Name] <String> [-Source] <String> [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Import an apiproxy from a zip file or directory into Apigee Edge.
PARAMETERS
-Name <String>
Required. The name to use for the apiproxy, once imported.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Source <String>
Required. A string, representing the source of the apiproxy bundle to import. This
can be the name of a file, in zip format; or it can be the name of a directory, which
this cmdlet will zip itself. In either case, the structure must be like so:
.\\apiproxy
.\\apiproxy\\proxies
.\\apiproxy\\proxies\\proxy1.xml
.\\apiproxy\\policies
.\\apiproxy\\policies\\Policy1.xml
.\\apiproxy\\policies\\...
.\\apiproxy\\targets
.\\apiproxy\\resources
...
Required? true
Position? 2
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? 3
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:\\>Import-EdgeApi -Name oauth2-pwd-cc -Source bundle.zip
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Import-EdgeApi -Name oauth2-pwd-cc -Source .\\mydirectory
RELATED LINKS
Deploy-EdgeApi
Export-EdgeApi