ChannelArgs constructor

const ChannelArgs({
  1. required Input<String> channelId,
  2. Input<String>? expireTime,
  3. Input<Map<String, String>>? labels,
  4. Input<String>? name,
  5. Input<String>? project,
  6. Input<int>? retainedReleaseCount,
  7. required Input<String> siteId,
  8. Input<String>? ttl,
})

Creates a new ChannelArgs. channelId Required. Immutable. A unique ID within the site that identifies the channel. expireTime 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. labels Text labels used for extra metadata and/or filtering. name The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID project Optional. retainedReleaseCount 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. siteId Required. ttl Input only. A time-to-live for this channel. Sets expire_time to the provided duration past the time of the request.

Implementation

const ChannelArgs({
  required this.channelId,
  this.expireTime,
  this.labels,
  this.name,
  this.project,
  this.retainedReleaseCount,
  required this.siteId,
  this.ttl,
});