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

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.ArchiveDeployment

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

    Creates a new ArchiveDeployment.

    Create ArchiveDeployment Resource

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

    Constructor syntax

    new ArchiveDeployment(name: string, args: ArchiveDeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def ArchiveDeployment(resource_name: str,
                          args: ArchiveDeploymentArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ArchiveDeployment(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          environment_id: Optional[str] = None,
                          organization_id: Optional[str] = None,
                          gcs_uri: Optional[str] = None,
                          labels: Optional[Mapping[str, str]] = None,
                          name: Optional[str] = None)
    func NewArchiveDeployment(ctx *Context, name string, args ArchiveDeploymentArgs, opts ...ResourceOption) (*ArchiveDeployment, error)
    public ArchiveDeployment(string name, ArchiveDeploymentArgs args, CustomResourceOptions? opts = null)
    public ArchiveDeployment(String name, ArchiveDeploymentArgs args)
    public ArchiveDeployment(String name, ArchiveDeploymentArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:ArchiveDeployment
    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 ArchiveDeploymentArgs
    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 ArchiveDeploymentArgs
    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 ArchiveDeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArchiveDeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArchiveDeploymentArgs
    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 archiveDeploymentResource = new GoogleNative.Apigee.V1.ArchiveDeployment("archiveDeploymentResource", new()
    {
        EnvironmentId = "string",
        OrganizationId = "string",
        GcsUri = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := apigee.NewArchiveDeployment(ctx, "archiveDeploymentResource", &apigee.ArchiveDeploymentArgs{
    	EnvironmentId:  pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	GcsUri:         pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var archiveDeploymentResource = new ArchiveDeployment("archiveDeploymentResource", ArchiveDeploymentArgs.builder()
        .environmentId("string")
        .organizationId("string")
        .gcsUri("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    archive_deployment_resource = google_native.apigee.v1.ArchiveDeployment("archiveDeploymentResource",
        environment_id="string",
        organization_id="string",
        gcs_uri="string",
        labels={
            "string": "string",
        },
        name="string")
    
    const archiveDeploymentResource = new google_native.apigee.v1.ArchiveDeployment("archiveDeploymentResource", {
        environmentId: "string",
        organizationId: "string",
        gcsUri: "string",
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: google-native:apigee/v1:ArchiveDeployment
    properties:
        environmentId: string
        gcsUri: string
        labels:
            string: string
        name: string
        organizationId: string
    

    ArchiveDeployment Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ArchiveDeployment resource accepts the following input properties:

    EnvironmentId string
    OrganizationId string
    GcsUri string
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    Labels Dictionary<string, string>
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    Name string
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.
    EnvironmentId string
    OrganizationId string
    GcsUri string
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    Labels map[string]string
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    Name string
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.
    environmentId String
    organizationId String
    gcsUri String
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    labels Map<String,String>
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    name String
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.
    environmentId string
    organizationId string
    gcsUri string
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    labels {[key: string]: string}
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    name string
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.
    environment_id str
    organization_id str
    gcs_uri str
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    labels Mapping[str, str]
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    name str
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.
    environmentId String
    organizationId String
    gcsUri String
    Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.
    labels Map<String>
    User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
    name String
    Name of the Archive Deployment in the following format: organizations/{org}/environments/{env}/archiveDeployments/{id}.

    Outputs

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

    CreatedAt string
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Operation string
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    UpdatedAt string
    The time at which the Archive Deployment was updated in milliseconds since the epoch.
    CreatedAt string
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Operation string
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    UpdatedAt string
    The time at which the Archive Deployment was updated in milliseconds since the epoch.
    createdAt String
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    operation String
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    updatedAt String
    The time at which the Archive Deployment was updated in milliseconds since the epoch.
    createdAt string
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    operation string
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    updatedAt string
    The time at which the Archive Deployment was updated in milliseconds since the epoch.
    created_at str
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    id str
    The provider-assigned unique ID for this managed resource.
    operation str
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    updated_at str
    The time at which the Archive Deployment was updated in milliseconds since the epoch.
    createdAt String
    The time at which the Archive Deployment was created in milliseconds since the epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    operation String
    A reference to the LRO that created this Archive Deployment in the following format: organizations/{org}/operations/{id}
    updatedAt String
    The time at which the Archive Deployment was updated in milliseconds since the epoch.

    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