Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

Feature

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

Create Feature Resource

new Feature(name: string, args?: FeatureArgs, opts?: CustomResourceOptions);
@overload
def Feature(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            feature_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            membership_specs: Optional[Mapping[str, str]] = None,
            project: Optional[str] = None,
            request_id: Optional[str] = None,
            spec: Optional[CommonFeatureSpecArgs] = None)
@overload
def Feature(resource_name: str,
            args: Optional[FeatureArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewFeature(ctx *Context, name string, args *FeatureArgs, opts ...ResourceOption) (*Feature, error)
public Feature(string name, FeatureArgs? args = null, CustomResourceOptions? opts = null)
public Feature(String name, FeatureArgs args)
public Feature(String name, FeatureArgs args, CustomResourceOptions options)
type: google-native:gkehub/v1:Feature
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FeatureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FeatureArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FeatureArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FeatureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FeatureArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Feature Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Feature resource accepts the following input properties:

FeatureId string

The ID of the feature to create.

Labels Dictionary<string, string>

GCP labels for this Feature.

Location string
MembershipSpecs Dictionary<string, string>

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.

Project string
RequestId string

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).

Spec Pulumi.GoogleNative.GKEHub.V1.Inputs.CommonFeatureSpecArgs

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

FeatureId string

The ID of the feature to create.

Labels map[string]string

GCP labels for this Feature.

Location string
MembershipSpecs map[string]string

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.

Project string
RequestId string

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).

Spec CommonFeatureSpecArgs

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

featureId String

The ID of the feature to create.

labels Map<String,String>

GCP labels for this Feature.

location String
membershipSpecs Map<String,String>

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.

project String
requestId String

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).

spec CommonFeatureSpecArgs

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

featureId string

The ID of the feature to create.

labels {[key: string]: string}

GCP labels for this Feature.

location string
membershipSpecs {[key: string]: string}

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.

project string
requestId string

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).

spec CommonFeatureSpecArgs

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

feature_id str

The ID of the feature to create.

labels Mapping[str, str]

GCP labels for this Feature.

location str
membership_specs Mapping[str, str]

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.

project str
request_id str

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).

spec CommonFeatureSpecArgs

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

featureId String

The ID of the feature to create.

labels Map<String>

GCP labels for this Feature.

location String
membershipSpecs Map<String>

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.

project String
requestId String

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).

spec Property Map

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Feature resource produces the following output properties:

CreateTime string

When the Feature resource was created.

DeleteTime string

When the Feature resource was deleted.

Id string

The provider-assigned unique ID for this managed resource.

MembershipStates Dictionary<string, string>

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

Name string

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

ResourceState Pulumi.GoogleNative.GKEHub.V1.Outputs.FeatureResourceStateResponse

State of the Feature resource itself.

State Pulumi.GoogleNative.GKEHub.V1.Outputs.CommonFeatureStateResponse

The Hub-wide Feature state.

UpdateTime string

When the Feature resource was last updated.

CreateTime string

When the Feature resource was created.

DeleteTime string

When the Feature resource was deleted.

Id string

The provider-assigned unique ID for this managed resource.

MembershipStates map[string]string

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

Name string

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

ResourceState FeatureResourceStateResponse

State of the Feature resource itself.

State CommonFeatureStateResponse

The Hub-wide Feature state.

UpdateTime string

When the Feature resource was last updated.

createTime String

When the Feature resource was created.

deleteTime String

When the Feature resource was deleted.

id String

The provider-assigned unique ID for this managed resource.

membershipStates Map<String,String>

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

name String

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

resourceState FeatureResourceStateResponse

State of the Feature resource itself.

state CommonFeatureStateResponse

The Hub-wide Feature state.

updateTime String

When the Feature resource was last updated.

createTime string

When the Feature resource was created.

deleteTime string

When the Feature resource was deleted.

id string

The provider-assigned unique ID for this managed resource.

membershipStates {[key: string]: string}

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

name string

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

resourceState FeatureResourceStateResponse

State of the Feature resource itself.

state CommonFeatureStateResponse

The Hub-wide Feature state.

updateTime string

When the Feature resource was last updated.

create_time str

When the Feature resource was created.

delete_time str

When the Feature resource was deleted.

id str

The provider-assigned unique ID for this managed resource.

membership_states Mapping[str, str]

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

name str

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

resource_state FeatureResourceStateResponse

State of the Feature resource itself.

state CommonFeatureStateResponse

The Hub-wide Feature state.

update_time str

When the Feature resource was last updated.

createTime String

When the Feature resource was created.

deleteTime String

When the Feature resource was deleted.

id String

The provider-assigned unique ID for this managed resource.

membershipStates Map<String>

Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

name String

The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

resourceState Property Map

State of the Feature resource itself.

state Property Map

The Hub-wide Feature state.

updateTime String

When the Feature resource was last updated.

Supporting Types

AppDevExperienceFeatureStateResponse

NetworkingInstallSucceeded Pulumi.GoogleNative.GKEHub.V1.Inputs.StatusResponse

Status of subcomponent that detects configured Service Mesh resources.

NetworkingInstallSucceeded StatusResponse

Status of subcomponent that detects configured Service Mesh resources.

networkingInstallSucceeded StatusResponse

Status of subcomponent that detects configured Service Mesh resources.

networkingInstallSucceeded StatusResponse

Status of subcomponent that detects configured Service Mesh resources.

networking_install_succeeded StatusResponse

Status of subcomponent that detects configured Service Mesh resources.

networkingInstallSucceeded Property Map

Status of subcomponent that detects configured Service Mesh resources.

CommonFeatureSpec

Appdevexperience AppDevExperienceFeatureSpec

Appdevexperience specific spec.

Multiclusteringress MultiClusterIngressFeatureSpec

Multicluster Ingress-specific spec.

appdevexperience AppDevExperienceFeatureSpec

Appdevexperience specific spec.

multiclusteringress MultiClusterIngressFeatureSpec

Multicluster Ingress-specific spec.

appdevexperience AppDevExperienceFeatureSpec

Appdevexperience specific spec.

multiclusteringress MultiClusterIngressFeatureSpec

Multicluster Ingress-specific spec.

appdevexperience AppDevExperienceFeatureSpec

Appdevexperience specific spec.

multiclusteringress MultiClusterIngressFeatureSpec

Multicluster Ingress-specific spec.

appdevexperience Property Map

Appdevexperience specific spec.

multiclusteringress Property Map

Multicluster Ingress-specific spec.

CommonFeatureSpecResponse

appdevexperience Property Map

Appdevexperience specific spec.

multiclusteringress Property Map

Multicluster Ingress-specific spec.

CommonFeatureStateResponse

Appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

State FeatureStateResponse

The "running state" of the Feature in this Hub.

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

state FeatureStateResponse

The "running state" of the Feature in this Hub.

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

state FeatureStateResponse

The "running state" of the Feature in this Hub.

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

state FeatureStateResponse

The "running state" of the Feature in this Hub.

appdevexperience Property Map

Appdevexperience specific state.

state Property Map

The "running state" of the Feature in this Hub.

FeatureResourceStateResponse

State string

The current state of the Feature resource in the Hub API.

State string

The current state of the Feature resource in the Hub API.

state String

The current state of the Feature resource in the Hub API.

state string

The current state of the Feature resource in the Hub API.

state str

The current state of the Feature resource in the Hub API.

state String

The current state of the Feature resource in the Hub API.

FeatureStateResponse

Code string

The high-level, machine-readable status of this Feature.

Description string

A human-readable description of the current status.

UpdateTime string

The time this status and any related Feature-specific details were updated.

Code string

The high-level, machine-readable status of this Feature.

Description string

A human-readable description of the current status.

UpdateTime string

The time this status and any related Feature-specific details were updated.

code String

The high-level, machine-readable status of this Feature.

description String

A human-readable description of the current status.

updateTime String

The time this status and any related Feature-specific details were updated.

code string

The high-level, machine-readable status of this Feature.

description string

A human-readable description of the current status.

updateTime string

The time this status and any related Feature-specific details were updated.

code str

The high-level, machine-readable status of this Feature.

description str

A human-readable description of the current status.

update_time str

The time this status and any related Feature-specific details were updated.

code String

The high-level, machine-readable status of this Feature.

description String

A human-readable description of the current status.

updateTime String

The time this status and any related Feature-specific details were updated.

MultiClusterIngressFeatureSpec

ConfigMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

ConfigMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership String

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

config_membership str

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership String

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

MultiClusterIngressFeatureSpecResponse

ConfigMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

ConfigMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership String

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership string

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

config_membership str

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

configMembership String

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

StatusResponse

Code string

Code specifies AppDevExperienceFeature's subcomponent ready state.

Description string

Description is populated if Code is Failed, explaining why it has failed.

Code string

Code specifies AppDevExperienceFeature's subcomponent ready state.

Description string

Description is populated if Code is Failed, explaining why it has failed.

code String

Code specifies AppDevExperienceFeature's subcomponent ready state.

description String

Description is populated if Code is Failed, explaining why it has failed.

code string

Code specifies AppDevExperienceFeature's subcomponent ready state.

description string

Description is populated if Code is Failed, explaining why it has failed.

code str

Code specifies AppDevExperienceFeature's subcomponent ready state.

description str

Description is populated if Code is Failed, explaining why it has failed.

code String

Code specifies AppDevExperienceFeature's subcomponent ready state.

description String

Description is populated if Code is Failed, explaining why it has failed.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0