Channel class
Creates a new channel in the specified site.
Constructors
- Channel(String name, {ChannelArgs? args, CustomResourceOptions? options})
-
Creates a new Channel.
nameThe Pulumi resource name.argsArguments used to configure this Channel. The set of arguments for Channel.optionsResource options controlling this resource's behavior.
Properties
-
channelId
↔ Output<
String> -
Required. Immutable. A unique ID within the site that identifies the channel.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createTime
↔ Output<
String> -
The time at which the channel was created.
latefinal
-
expireTime
↔ Output<
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.latefinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
labels
↔ Output<
Map< String, String> > -
Text labels used for extra metadata and/or filtering.
latefinal
-
name
↔ Output<
String> -
The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
latefinal
-
project
↔ Output<
String> -
latefinal
-
release
↔ Output<
ReleaseResponse> -
The current release for the channel, if any.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
retainedReleaseCount
↔ Output<
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.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
siteId
↔ Output<
String> -
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
ttl
↔ Output<
String> -
Input only. A time-to-live for this channel. Sets
expire_timeto the provided duration past the time of the request.latefinal -
updateTime
↔ Output<
String> -
The time at which the channel was last updated.
latefinal
-
url
↔ Output<
String> -
The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com. If this channel is thelivechannel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.latefinal -
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited