1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkconnectivity
  5. networkconnectivity/v1
  6. getServiceConnectionToken

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

Explore with Pulumi AI

google-native logo

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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:networkconnectivity/v1:getServiceConnectionToken
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getServiceConnectionToken Result

    The following output properties are available:

    CreateTime 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.
    ExpireTime 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.
    UpdateTime string
    Time when the ServiceConnectionToken was updated.
    CreateTime 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.
    ExpireTime 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.
    UpdateTime string
    Time when the ServiceConnectionToken was updated.
    createTime 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.
    expireTime 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.
    updateTime String
    Time when the ServiceConnectionToken was updated.
    createTime 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.
    expireTime 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.
    updateTime 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.
    createTime 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.
    expireTime 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.
    updateTime String
    Time when the ServiceConnectionToken was updated.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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