1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. Sharedflow

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.Sharedflow

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Uploads a ZIP-formatted shared flow configuration bundle to an organization. If the shared flow already exists, this creates a new revision of it. If the shared flow does not exist, this creates it. Once imported, the shared flow revision must be deployed before it can be accessed at runtime. The size limit of a shared flow bundle is 15 MB.

    Create Sharedflow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Sharedflow(name: string, args: SharedflowArgs, opts?: CustomResourceOptions);
    @overload
    def Sharedflow(resource_name: str,
                   args: SharedflowArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Sharedflow(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   action: Optional[str] = None,
                   organization_id: Optional[str] = None,
                   content_type: Optional[str] = None,
                   data: Optional[str] = None,
                   extensions: Optional[Sequence[Mapping[str, str]]] = None,
                   name: Optional[str] = None)
    func NewSharedflow(ctx *Context, name string, args SharedflowArgs, opts ...ResourceOption) (*Sharedflow, error)
    public Sharedflow(string name, SharedflowArgs args, CustomResourceOptions? opts = null)
    public Sharedflow(String name, SharedflowArgs args)
    public Sharedflow(String name, SharedflowArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:Sharedflow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SharedflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SharedflowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SharedflowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SharedflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SharedflowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var sharedflowResource = new GoogleNative.Apigee.V1.Sharedflow("sharedflowResource", new()
    {
        Action = "string",
        OrganizationId = "string",
        ContentType = "string",
        Data = "string",
        Extensions = new[]
        {
            
            {
                { "string", "string" },
            },
        },
        Name = "string",
    });
    
    example, err := apigee.NewSharedflow(ctx, "sharedflowResource", &apigee.SharedflowArgs{
    	Action:         pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	ContentType:    pulumi.String("string"),
    	Data:           pulumi.String("string"),
    	Extensions: pulumi.StringMapArray{
    		pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    var sharedflowResource = new Sharedflow("sharedflowResource", SharedflowArgs.builder()
        .action("string")
        .organizationId("string")
        .contentType("string")
        .data("string")
        .extensions(Map.of("string", "string"))
        .name("string")
        .build());
    
    sharedflow_resource = google_native.apigee.v1.Sharedflow("sharedflowResource",
        action="string",
        organization_id="string",
        content_type="string",
        data="string",
        extensions=[{
            "string": "string",
        }],
        name="string")
    
    const sharedflowResource = new google_native.apigee.v1.Sharedflow("sharedflowResource", {
        action: "string",
        organizationId: "string",
        contentType: "string",
        data: "string",
        extensions: [{
            string: "string",
        }],
        name: "string",
    });
    
    type: google-native:apigee/v1:Sharedflow
    properties:
        action: string
        contentType: string
        data: string
        extensions:
            - string: string
        name: string
        organizationId: string
    

    Sharedflow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Sharedflow resource accepts the following input properties:

    Action string
    Required. Must be set to either import or validate.
    OrganizationId string
    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions List<ImmutableDictionary<string, string>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    Name string
    Required. The name to give the shared flow
    Action string
    Required. Must be set to either import or validate.
    OrganizationId string
    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions []map[string]string
    Application specific response metadata. Must be set in the first response for streaming APIs.
    Name string
    Required. The name to give the shared flow
    action String
    Required. Must be set to either import or validate.
    organizationId String
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String,String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    name String
    Required. The name to give the shared flow
    action string
    Required. Must be set to either import or validate.
    organizationId string
    contentType string
    The HTTP Content-Type header value specifying the content type of the body.
    data string
    The HTTP request/response body as raw binary.
    extensions {[key: string]: string}[]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    name string
    Required. The name to give the shared flow
    action str
    Required. Must be set to either import or validate.
    organization_id str
    content_type str
    The HTTP Content-Type header value specifying the content type of the body.
    data str
    The HTTP request/response body as raw binary.
    extensions Sequence[Mapping[str, str]]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    name str
    Required. The name to give the shared flow
    action String
    Required. Must be set to either import or validate.
    organizationId String
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    name String
    Required. The name to give the shared flow

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Sharedflow resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LatestRevisionId string
    The id of the most recently created revision for this shared flow.
    MetaData Pulumi.GoogleNative.Apigee.V1.Outputs.GoogleCloudApigeeV1EntityMetadataResponse
    Metadata describing the shared flow.
    Revision List<string>
    A list of revisions of this shared flow.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestRevisionId string
    The id of the most recently created revision for this shared flow.
    MetaData GoogleCloudApigeeV1EntityMetadataResponse
    Metadata describing the shared flow.
    Revision []string
    A list of revisions of this shared flow.
    id String
    The provider-assigned unique ID for this managed resource.
    latestRevisionId String
    The id of the most recently created revision for this shared flow.
    metaData GoogleCloudApigeeV1EntityMetadataResponse
    Metadata describing the shared flow.
    revision List<String>
    A list of revisions of this shared flow.
    id string
    The provider-assigned unique ID for this managed resource.
    latestRevisionId string
    The id of the most recently created revision for this shared flow.
    metaData GoogleCloudApigeeV1EntityMetadataResponse
    Metadata describing the shared flow.
    revision string[]
    A list of revisions of this shared flow.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_revision_id str
    The id of the most recently created revision for this shared flow.
    meta_data GoogleCloudApigeeV1EntityMetadataResponse
    Metadata describing the shared flow.
    revision Sequence[str]
    A list of revisions of this shared flow.
    id String
    The provider-assigned unique ID for this managed resource.
    latestRevisionId String
    The id of the most recently created revision for this shared flow.
    metaData Property Map
    Metadata describing the shared flow.
    revision List<String>
    A list of revisions of this shared flow.

    Supporting Types

    GoogleCloudApigeeV1EntityMetadataResponse, GoogleCloudApigeeV1EntityMetadataResponseArgs

    CreatedAt string
    Time at which the API proxy was created, in milliseconds since epoch.
    LastModifiedAt string
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    SubType string
    The type of entity described
    CreatedAt string
    Time at which the API proxy was created, in milliseconds since epoch.
    LastModifiedAt string
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    SubType string
    The type of entity described
    createdAt String
    Time at which the API proxy was created, in milliseconds since epoch.
    lastModifiedAt String
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    subType String
    The type of entity described
    createdAt string
    Time at which the API proxy was created, in milliseconds since epoch.
    lastModifiedAt string
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    subType string
    The type of entity described
    created_at str
    Time at which the API proxy was created, in milliseconds since epoch.
    last_modified_at str
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    sub_type str
    The type of entity described
    createdAt String
    Time at which the API proxy was created, in milliseconds since epoch.
    lastModifiedAt String
    Time at which the API proxy was most recently modified, in milliseconds since epoch.
    subType String
    The type of entity described

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi