FeatureArgs

data class FeatureArgs(val featureId: Output<String>? = null, val fleetDefaultMemberConfig: Output<CommonFleetDefaultMemberConfigSpecArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val membershipSpecs: Output<Map<String, String>>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val scopeSpecs: Output<Map<String, String>>? = null, val spec: Output<CommonFeatureSpecArgs>? = null) : ConvertibleToJava<FeatureArgs>

Adds a new Feature. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun FeatureArgs(featureId: Output<String>? = null, fleetDefaultMemberConfig: Output<CommonFleetDefaultMemberConfigSpecArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, membershipSpecs: Output<Map<String, String>>? = null, project: Output<String>? = null, requestId: Output<String>? = null, scopeSpecs: Output<Map<String, String>>? = null, spec: Output<CommonFeatureSpecArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FeatureArgs

Properties

Link copied to clipboard
val featureId: Output<String>? = null

The ID of the feature to create.

Link copied to clipboard

Optional. Feature configuration applicable to all memberships of the fleet.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels for this Feature.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val membershipSpecs: Output<Map<String, String>>? = null

Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val scopeSpecs: Output<Map<String, String>>? = null

Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: projects/{p}/locations/global/scopes/{s} Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.

Link copied to clipboard
val spec: Output<CommonFeatureSpecArgs>? = null

Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.