HostingChannelState class
Input properties used for looking up and filtering HostingChannel resources.
Constructors
-
HostingChannelState({Input<
String?> ? channelId, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? expireTime, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<Map< ? pulumiLabels, Input<String, String> ?>int?> ? retainedReleaseCount, Input<String?> ? siteId, Input<String?> ? ttl}) -
Creates a new HostingChannelState.
channelIdRequired. Immutable. A unique ID within the site that identifies the channel.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.expireTimeThe time at which the channel will be automatically deleted. If null, the channellabelsText labels used for extra metadata and/or filteringnameThe fully-qualified resource name for the channel, in the format:pulumiLabelsThe combination of labels configured directly on the resourceretainedReleaseCountThe number of previous releases to retain on the channel for rollback or othersiteIdRequired. The ID of the site in which to create this channel.ttlInput only. A time-to-live for this channel. SetsexpireTimeto the providedconst -
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
ttlfield.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
effectiveLabelsfor 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
expireTimeto 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