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:
- feature_
id str - location str
- project str
getFeature Result
The following output properties are available:
- Create
Time string When the Feature resource was created.
- Delete
Time string When the Feature resource was deleted.
- Fleet
Default Pulumi.Member Config Google Native. GKEHub. V1. Outputs. Common Fleet Default Member Config Spec Response Optional. Feature configuration applicable to all memberships of the fleet.
- Labels Dictionary<string, string>
GCP labels for this Feature.
- Membership
Specs 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.- Membership
States 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/*
.- Resource
State Pulumi.Google Native. GKEHub. V1. Outputs. Feature Resource State Response State of the Feature resource itself.
- Scope
Specs 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.- Scope
States 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.
Google Native. GKEHub. V1. Outputs. Common Feature Spec Response Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- State
Pulumi.
Google Native. GKEHub. V1. Outputs. Common Feature State Response The Hub-wide Feature state.
- Update
Time string When the Feature resource was last updated.
- Create
Time string When the Feature resource was created.
- Delete
Time string When the Feature resource was deleted.
- Fleet
Default CommonMember Config Fleet Default Member Config Spec Response Optional. Feature configuration applicable to all memberships of the fleet.
- Labels map[string]string
GCP labels for this Feature.
- Membership
Specs 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.- Membership
States 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/*
.- Resource
State FeatureResource State Response State of the Feature resource itself.
- Scope
Specs 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.- Scope
States 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
Common
Feature Spec Response Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- State
Common
Feature State Response The Hub-wide Feature state.
- Update
Time string When the Feature resource was last updated.
- create
Time String When the Feature resource was created.
- delete
Time String When the Feature resource was deleted.
- fleet
Default CommonMember Config Fleet Default Member Config Spec Response Optional. Feature configuration applicable to all memberships of the fleet.
- labels Map<String,String>
GCP labels for this Feature.
- membership
Specs 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.- membership
States 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/*
.- resource
State FeatureResource State Response State of the Feature resource itself.
- scope
Specs 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.- scope
States 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
Common
Feature Spec Response Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- state
Common
Feature State Response The Hub-wide Feature state.
- update
Time String When the Feature resource was last updated.
- create
Time string When the Feature resource was created.
- delete
Time string When the Feature resource was deleted.
- fleet
Default CommonMember Config Fleet Default Member Config Spec Response Optional. Feature configuration applicable to all memberships of the fleet.
- labels {[key: string]: string}
GCP labels for this Feature.
- membership
Specs {[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.- membership
States {[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/*
.- resource
State FeatureResource State Response State of the Feature resource itself.
- scope
Specs {[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.- scope
States {[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
Common
Feature Spec Response Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- state
Common
Feature State Response The Hub-wide Feature state.
- update
Time 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_ Commonmember_ config Fleet Default Member Config Spec Response 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 FeatureResource State Response 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
Common
Feature Spec Response Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
- state
Common
Feature State Response The Hub-wide Feature state.
- update_
time str When the Feature resource was last updated.
- create
Time String When the Feature resource was created.
- delete
Time String When the Feature resource was deleted.
- fleet
Default Property MapMember Config Optional. Feature configuration applicable to all memberships of the fleet.
- labels Map<String>
GCP labels for this Feature.
- membership
Specs 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.- membership
States 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/*
.- resource
State Property Map State of the Feature resource itself.
- scope
Specs 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.- scope
States 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.
- update
Time String When the Feature resource was last updated.
Supporting Types
AppDevExperienceFeatureStateResponse
- Networking
Install Pulumi.Succeeded Google Native. GKEHub. V1. Inputs. Status Response Status of subcomponent that detects configured Service Mesh resources.
- Networking
Install StatusSucceeded Response Status of subcomponent that detects configured Service Mesh resources.
- networking
Install StatusSucceeded Response Status of subcomponent that detects configured Service Mesh resources.
- networking
Install StatusSucceeded Response Status of subcomponent that detects configured Service Mesh resources.
- networking_
install_ Statussucceeded Response Status of subcomponent that detects configured Service Mesh resources.
- networking
Install Property MapSucceeded Status of subcomponent that detects configured Service Mesh resources.
CommonFeatureSpecResponse
- Appdevexperience
Pulumi.
Google Native. GKEHub. V1. Inputs. App Dev Experience Feature Spec Response Appdevexperience specific spec.
- Fleetobservability
Pulumi.
Google Native. GKEHub. V1. Inputs. Fleet Observability Feature Spec Response FleetObservability feature spec.
- Multiclusteringress
Pulumi.
Google Native. GKEHub. V1. Inputs. Multi Cluster Ingress Feature Spec Response Multicluster Ingress-specific spec.
- Appdevexperience
App
Dev Experience Feature Spec Response Appdevexperience specific spec.
- Fleetobservability
Fleet
Observability Feature Spec Response FleetObservability feature spec.
- Multiclusteringress
Multi
Cluster Ingress Feature Spec Response Multicluster Ingress-specific spec.
- appdevexperience
App
Dev Experience Feature Spec Response Appdevexperience specific spec.
- fleetobservability
Fleet
Observability Feature Spec Response FleetObservability feature spec.
- multiclusteringress
Multi
Cluster Ingress Feature Spec Response Multicluster Ingress-specific spec.
- appdevexperience
App
Dev Experience Feature Spec Response Appdevexperience specific spec.
- fleetobservability
Fleet
Observability Feature Spec Response FleetObservability feature spec.
- multiclusteringress
Multi
Cluster Ingress Feature Spec Response Multicluster Ingress-specific spec.
- appdevexperience
App
Dev Experience Feature Spec Response Appdevexperience specific spec.
- fleetobservability
Fleet
Observability Feature Spec Response FleetObservability feature spec.
- multiclusteringress
Multi
Cluster Ingress Feature Spec Response Multicluster Ingress-specific spec.
- appdevexperience Property Map
Appdevexperience specific spec.
- fleetobservability Property Map
FleetObservability feature spec.
- multiclusteringress Property Map
Multicluster Ingress-specific spec.
CommonFeatureStateResponse
- Appdevexperience
Pulumi.
Google Native. GKEHub. V1. Inputs. App Dev Experience Feature State Response Appdevexperience specific state.
- Fleetobservability
Pulumi.
Google Native. GKEHub. V1. Inputs. Fleet Observability Feature State Response FleetObservability feature state.
- State
Pulumi.
Google Native. GKEHub. V1. Inputs. Feature State Response The "running state" of the Feature in this Hub.
- Appdevexperience
App
Dev Experience Feature State Response Appdevexperience specific state.
- Fleetobservability
Fleet
Observability Feature State Response FleetObservability feature state.
- State
Feature
State Response The "running state" of the Feature in this Hub.
- appdevexperience
App
Dev Experience Feature State Response Appdevexperience specific state.
- fleetobservability
Fleet
Observability Feature State Response FleetObservability feature state.
- state
Feature
State Response The "running state" of the Feature in this Hub.
- appdevexperience
App
Dev Experience Feature State Response Appdevexperience specific state.
- fleetobservability
Fleet
Observability Feature State Response FleetObservability feature state.
- state
Feature
State Response The "running state" of the Feature in this Hub.
- appdevexperience
App
Dev Experience Feature State Response Appdevexperience specific state.
- fleetobservability
Fleet
Observability Feature State Response FleetObservability feature state.
- state
Feature
State Response 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.
- Update
Time 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.
- Update
Time 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.
- update
Time 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.
- update
Time 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.
- update
Time String The time this status and any related Feature-specific details were updated.
MultiClusterIngressFeatureSpecResponse
- Config
Membership string Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example:
projects/foo-proj/locations/global/memberships/bar
- Config
Membership string Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example:
projects/foo-proj/locations/global/memberships/bar
- config
Membership String Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example:
projects/foo-proj/locations/global/memberships/bar
- config
Membership 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
- config
Membership 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