Google Native
DeploymentArtifact
CreateArtifact creates a specified artifact.
Create a DeploymentArtifact Resource
new DeploymentArtifact(name: string, args: DeploymentArtifactArgs, opts?: CustomResourceOptions);
@overload
def DeploymentArtifact(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
artifact_id: Optional[str] = None,
contents: Optional[str] = None,
deployment_id: Optional[str] = None,
location: Optional[str] = None,
mime_type: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
@overload
def DeploymentArtifact(resource_name: str,
args: DeploymentArtifactArgs,
opts: Optional[ResourceOptions] = None)
func NewDeploymentArtifact(ctx *Context, name string, args DeploymentArtifactArgs, opts ...ResourceOption) (*DeploymentArtifact, error)
public DeploymentArtifact(string name, DeploymentArtifactArgs args, CustomResourceOptions? opts = null)
public DeploymentArtifact(String name, DeploymentArtifactArgs args)
public DeploymentArtifact(String name, DeploymentArtifactArgs args, CustomResourceOptions options)
type: google-native:apigeeregistry/v1:DeploymentArtifact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArtifactArgs
- 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 DeploymentArtifactArgs
- 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 DeploymentArtifactArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArtifactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentArtifactArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DeploymentArtifact 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 DeploymentArtifact resource accepts the following input properties:
- Api
Id string - Artifact
Id string Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- Deployment
Id string - Contents string
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- Location string
- Mime
Type string A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- Name string
Resource name.
- Project string
- Api
Id string - Artifact
Id string Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- Deployment
Id string - Contents string
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- Location string
- Mime
Type string A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- Name string
Resource name.
- Project string
- api
Id String - artifact
Id String Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- deployment
Id String - contents String
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- location String
- mime
Type String A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name String
Resource name.
- project String
- api
Id string - artifact
Id string Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- deployment
Id string - contents string
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- location string
- mime
Type string A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name string
Resource name.
- project string
- api_
id str - artifact_
id str Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- deployment_
id str - contents str
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- location str
- mime_
type str A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name str
Resource name.
- project str
- api
Id String - artifact
Id String Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
- deployment
Id String - contents String
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- location String
- mime
Type String A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name String
Resource name.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentArtifact resource produces the following output properties:
- Create
Time string Creation timestamp.
- Hash string
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- Id string
The provider-assigned unique ID for this managed resource.
- Size
Bytes int The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- Update
Time string Last update timestamp.
- Create
Time string Creation timestamp.
- Hash string
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- Id string
The provider-assigned unique ID for this managed resource.
- Size
Bytes int The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- Update
Time string Last update timestamp.
- create
Time String Creation timestamp.
- hash String
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- id String
The provider-assigned unique ID for this managed resource.
- size
Bytes Integer The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- update
Time String Last update timestamp.
- create
Time string Creation timestamp.
- hash string
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- id string
The provider-assigned unique ID for this managed resource.
- size
Bytes number The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- update
Time string Last update timestamp.
- create_
time str Creation timestamp.
- hash str
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- id str
The provider-assigned unique ID for this managed resource.
- size_
bytes int The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- update_
time str Last update timestamp.
- create
Time String Creation timestamp.
- hash String
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- id String
The provider-assigned unique ID for this managed resource.
- size
Bytes Number The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- update
Time String Last update timestamp.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0