< Back

Import-EdgeSharedFlow

Sun Jan 19, 2020 6:04 pm

NAME Import-EdgeSharedFlow



SYNOPSIS

Import a sharedflow from a zip file or directory into Apigee Edge.





SYNTAX

Import-EdgeSharedFlow [-Name] <String> [-Source] <String> [[-Org] <String>] [<CommonParameters>]





DESCRIPTION

Import a sharedflow from a zip file or directory into Apigee Edge.





PARAMETERS

-Name <String>

Required. The name to use for the sharedflow, once imported.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Source <String>

Required. A string, repreenting the source of the sharedflow 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:



.\\sharedflowbundle

.\\sharedflowbundle\\shared-flow-name.xml

.\\sharedflowbundle\\sharedflows

.\\sharedflowbundle\\sharedflows\\flow1.xml

.\\sharedflowbundle\\policies

.\\sharedflowbundle\\policies\\Policy1.xml

.\\sharedflowbundle\\policies\\...

.\\sharedflowbundle\\resources

.\\sharedflowbundle\\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-EdgeSharedFlow -Name log-to-splunk -Source logToSplunk.zip













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



PS C:\\>Import-EdgeSharedFlow -Name log-to-splunk -Source .\\sflows\\directory-containing-logToSplunk















RELATED LINKS

Import-EdgeApi

Deploy-EdgeSharedFlow

Export-EdgeSharedFlow