Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.networkconnectivity/v1.getServiceConnectionToken
Start a Neo task
Explain and create a google-native.networkconnectivity/v1.getServiceConnectionToken resource
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single ServiceConnectionToken.
Using getServiceConnectionToken
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 getServiceConnectionToken(args: GetServiceConnectionTokenArgs, opts?: InvokeOptions): Promise<GetServiceConnectionTokenResult>
function getServiceConnectionTokenOutput(args: GetServiceConnectionTokenOutputArgs, opts?: InvokeOptions): Output<GetServiceConnectionTokenResult>def get_service_connection_token(location: Optional[str] = None,
project: Optional[str] = None,
service_connection_token_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceConnectionTokenResult
def get_service_connection_token_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
service_connection_token_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceConnectionTokenResult]func LookupServiceConnectionToken(ctx *Context, args *LookupServiceConnectionTokenArgs, opts ...InvokeOption) (*LookupServiceConnectionTokenResult, error)
func LookupServiceConnectionTokenOutput(ctx *Context, args *LookupServiceConnectionTokenOutputArgs, opts ...InvokeOption) LookupServiceConnectionTokenResultOutput> Note: This function is named LookupServiceConnectionToken in the Go SDK.
public static class GetServiceConnectionToken
{
public static Task<GetServiceConnectionTokenResult> InvokeAsync(GetServiceConnectionTokenArgs args, InvokeOptions? opts = null)
public static Output<GetServiceConnectionTokenResult> Invoke(GetServiceConnectionTokenInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceConnectionTokenResult> getServiceConnectionToken(GetServiceConnectionTokenArgs args, InvokeOptions options)
public static Output<GetServiceConnectionTokenResult> getServiceConnectionToken(GetServiceConnectionTokenArgs args, InvokeOptions options)
fn::invoke:
function: google-native:networkconnectivity/v1:getServiceConnectionToken
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- Service
Connection stringToken Id - Project string
- Location string
- Service
Connection stringToken Id - Project string
- location String
- service
Connection StringToken Id - project String
- location string
- service
Connection stringToken Id - project string
- location str
- service_
connection_ strtoken_ id - project str
- location String
- service
Connection StringToken Id - project String
getServiceConnectionToken Result
The following output properties are available:
- Create
Time string - Time when the ServiceConnectionToken was created.
- Description string
- A description of this resource.
- Etag string
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Expire
Time string - The time to which this token is valid.
- Labels Dictionary<string, string>
- User-defined labels.
- Name string
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- Network string
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- Token string
- The token generated by Automation.
- Update
Time string - Time when the ServiceConnectionToken was updated.
- Create
Time string - Time when the ServiceConnectionToken was created.
- Description string
- A description of this resource.
- Etag string
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Expire
Time string - The time to which this token is valid.
- Labels map[string]string
- User-defined labels.
- Name string
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- Network string
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- Token string
- The token generated by Automation.
- Update
Time string - Time when the ServiceConnectionToken was updated.
- create
Time String - Time when the ServiceConnectionToken was created.
- description String
- A description of this resource.
- etag String
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- expire
Time String - The time to which this token is valid.
- labels Map<String,String>
- User-defined labels.
- name String
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- network String
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- token String
- The token generated by Automation.
- update
Time String - Time when the ServiceConnectionToken was updated.
- create
Time string - Time when the ServiceConnectionToken was created.
- description string
- A description of this resource.
- etag string
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- expire
Time string - The time to which this token is valid.
- labels {[key: string]: string}
- User-defined labels.
- name string
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- network string
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- token string
- The token generated by Automation.
- update
Time string - Time when the ServiceConnectionToken was updated.
- create_
time str - Time when the ServiceConnectionToken was created.
- description str
- A description of this resource.
- etag str
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- expire_
time str - The time to which this token is valid.
- labels Mapping[str, str]
- User-defined labels.
- name str
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- network str
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- token str
- The token generated by Automation.
- update_
time str - Time when the ServiceConnectionToken was updated.
- create
Time String - Time when the ServiceConnectionToken was created.
- description String
- A description of this resource.
- etag String
- Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- expire
Time String - The time to which this token is valid.
- labels Map<String>
- User-defined labels.
- name String
- Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
- network String
- The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
- token String
- The token generated by Automation.
- update
Time String - Time when the ServiceConnectionToken was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
