HostingChannelArgs class
The set of arguments for HostingChannel. The set of arguments for HostingChannel.
Constructors
-
HostingChannelArgs({required Input<
String> channelId, Input<String?> ? deletionPolicy, Input<String?> ? expireTime, Input<Map< ? labels, Input<String, String> ?>int?> ? retainedReleaseCount, required Input<String> siteId, Input<String?> ? ttl}) -
Creates a new HostingChannelArgs.
channelIdRequired. Immutable. A unique ID within the site that identifies the channel.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.expireTimeThe time at which the channel will be automatically deleted. If null, the channellabelsText labels used for extra metadata and/or filteringretainedReleaseCountThe 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 -
HostingChannelArgs.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
-
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 -
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