HostingChannelState class

Input properties used for looking up and filtering HostingChannel resources.

Constructors

HostingChannelState({Input<String?>? channelId, Input<String?>? deletionPolicy, Input<Map<String, String>?>? effectiveLabels, Input<String?>? expireTime, Input<Map<String, String>?>? labels, Input<String?>? name, Input<Map<String, String>?>? pulumiLabels, Input<int?>? retainedReleaseCount, Input<String?>? siteId, Input<String?>? ttl})
Creates a new HostingChannelState. channelId Required. Immutable. A unique ID within the site that identifies the channel. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. expireTime The time at which the channel will be automatically deleted. If null, the channel labels Text labels used for extra metadata and/or filtering name The fully-qualified resource name for the channel, in the format: pulumiLabels The combination of labels configured directly on the resource retainedReleaseCount The number of previous releases to retain on the channel for rollback or other siteId Required. The ID of the site in which to create this channel. ttl Input only. A time-to-live for this channel. Sets expireTime to the provided
const
HostingChannelState.fromMap(Map<String, dynamic> map)
factory

Properties

channelId → Input<String?>?
Required. Immutable. A unique ID within the site that identifies the channel.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
expireTime → Input<String?>?
The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the ttl field.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Text labels used for extra metadata and/or filtering Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
name → Input<String?>?
The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
retainedReleaseCount → Input<int?>?
The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
siteId → Input<String?>?
Required. The ID of the site in which to create this channel.
final
ttl → Input<String?>?
Input only. A time-to-live for this channel. Sets expireTime to the provided duration past the time of the request. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "86400s" (one day).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited