google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.gkehub/v1.getFeature

Gets details of a single Feature.

Using getFeature

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFeature(args: GetFeatureArgs, opts?: InvokeOptions): Promise<GetFeatureResult>
function getFeatureOutput(args: GetFeatureOutputArgs, opts?: InvokeOptions): Output<GetFeatureResult>
def get_feature(feature_id: Optional[str] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetFeatureResult
def get_feature_output(feature_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetFeatureResult]
func LookupFeature(ctx *Context, args *LookupFeatureArgs, opts ...InvokeOption) (*LookupFeatureResult, error)
func LookupFeatureOutput(ctx *Context, args *LookupFeatureOutputArgs, opts ...InvokeOption) LookupFeatureResultOutput

> Note: This function is named LookupFeature in the Go SDK.

public static class GetFeature 
{
    public static Task<GetFeatureResult> InvokeAsync(GetFeatureArgs args, InvokeOptions? opts = null)
    public static Output<GetFeatureResult> Invoke(GetFeatureInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFeatureResult> getFeature(GetFeatureArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:gkehub/v1:getFeature
  arguments:
    # arguments dictionary

The following arguments are supported:

FeatureId string
Location string
Project string
FeatureId string
Location string
Project string
featureId String
location String
project String
featureId string
location string
project string
featureId String
location String
project String

getFeature Result

The following output properties are available:

CreateTime string

When the Feature resource was created.

DeleteTime string

When the Feature resource was deleted.

FleetDefaultMemberConfig Pulumi.GoogleNative.GKEHub.V1.Outputs.CommonFleetDefaultMemberConfigSpecResponse

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

Labels Dictionary<string, string>

GCP labels for this Feature.

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.

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.

ScopeSpecs Dictionary<string, string>

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.

ScopeStates Dictionary<string, string>

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

Spec Pulumi.GoogleNative.GKEHub.V1.Outputs.CommonFeatureSpecResponse

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

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.

FleetDefaultMemberConfig CommonFleetDefaultMemberConfigSpecResponse

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

Labels map[string]string

GCP labels for this Feature.

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.

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.

ScopeSpecs map[string]string

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.

ScopeStates map[string]string

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

Spec CommonFeatureSpecResponse

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

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.

fleetDefaultMemberConfig CommonFleetDefaultMemberConfigSpecResponse

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

labels Map<String,String>

GCP labels for this Feature.

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.

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.

scopeSpecs Map<String,String>

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.

scopeStates Map<String,String>

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

spec CommonFeatureSpecResponse

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

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.

fleetDefaultMemberConfig CommonFleetDefaultMemberConfigSpecResponse

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

labels {[key: string]: string}

GCP labels for this Feature.

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.

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.

scopeSpecs {[key: string]: string}

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.

scopeStates {[key: string]: string}

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

spec CommonFeatureSpecResponse

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

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.

fleet_default_member_config CommonFleetDefaultMemberConfigSpecResponse

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

labels Mapping[str, str]

GCP labels for this Feature.

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.

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.

scope_specs Mapping[str, str]

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.

scope_states Mapping[str, str]

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

spec CommonFeatureSpecResponse

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

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.

fleetDefaultMemberConfig Property Map

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

labels Map<String>

GCP labels for this Feature.

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.

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.

scopeSpecs Map<String>

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.

scopeStates Map<String>

Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state 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.

spec Property Map

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

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.

CommonFeatureSpecResponse

appdevexperience Property Map

Appdevexperience specific spec.

fleetobservability Property Map

FleetObservability feature spec.

multiclusteringress Property Map

Multicluster Ingress-specific spec.

CommonFeatureStateResponse

Appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

Fleetobservability FleetObservabilityFeatureStateResponse

FleetObservability feature state.

State FeatureStateResponse

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

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

fleetobservability FleetObservabilityFeatureStateResponse

FleetObservability feature state.

state FeatureStateResponse

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

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

fleetobservability FleetObservabilityFeatureStateResponse

FleetObservability feature state.

state FeatureStateResponse

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

appdevexperience AppDevExperienceFeatureStateResponse

Appdevexperience specific state.

fleetobservability FleetObservabilityFeatureStateResponse

FleetObservability feature state.

state FeatureStateResponse

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

appdevexperience Property Map

Appdevexperience specific state.

fleetobservability Property Map

FleetObservability feature 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.

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
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0