This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
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.
resource "google-native_apigee_v1_archive_deployment" "name" {
# resource properties
}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"),
})
resource "google-native_apigee_v1_archive_deployment" "archiveDeploymentResource" {
lifecycle {
create_before_destroy = true
}
environment_id = "string"
organization_id = "string"
gcs_uri = "string"
labels = {
"string" = "string"
}
name = "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:
- Environment
Id string - Organization
Id string - Gcs
Uri 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}.
- Environment
Id string - Organization
Id string - Gcs
Uri 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}.
- environment_
id string - organization_
id string - gcs_
uri 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}.
- environment
Id String - organization
Id String - gcs
Uri 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}.
- environment
Id string - organization
Id string - gcs
Uri 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}.
- environment
Id String - organization
Id String - gcs
Uri 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:
- Created
At 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} - Updated
At string - The time at which the Archive Deployment was updated in milliseconds since the epoch.
- Created
At 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} - Updated
At string - The time at which the Archive Deployment was updated in milliseconds since the epoch.
- created_
at 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} - updated_
at string - The time at which the Archive Deployment was updated in milliseconds since the epoch.
- created
At 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} - updated
At String - The time at which the Archive Deployment was updated in milliseconds since the epoch.
- created
At 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} - updated
At 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.
- created
At 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} - updated
At String - The time at which the Archive Deployment was updated in milliseconds since the epoch.
Look up Existing ArchiveDeployment Resource
Get an existing ArchiveDeployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ArchiveDeployment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ArchiveDeploymentfunc GetArchiveDeployment(ctx *Context, name string, id IDInput, state *ArchiveDeploymentState, opts ...ResourceOption) (*ArchiveDeployment, error)public static ArchiveDeployment Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ArchiveDeployment get(String name, Output<String> id, CustomResourceOptions options)resources: existingArchiveDeployment: type: google-native:apigee/v1:ArchiveDeployment get: id: ${id}import {
to = google-native_apigee_v1_archive_deployment.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ArchiveDeploymentState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi