1. Packages
  2. Azure Native
  3. API Docs
  4. hybridconnectivity
  5. listEndpointCredentials
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.hybridconnectivity.listEndpointCredentials

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Gets the endpoint access credentials to the resource. Azure REST API version: 2023-03-15.

    Other available API versions: 2022-05-01-preview, 2024-12-01.

    Using listEndpointCredentials

    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 listEndpointCredentials(args: ListEndpointCredentialsArgs, opts?: InvokeOptions): Promise<ListEndpointCredentialsResult>
    function listEndpointCredentialsOutput(args: ListEndpointCredentialsOutputArgs, opts?: InvokeOptions): Output<ListEndpointCredentialsResult>
    def list_endpoint_credentials(endpoint_name: Optional[str] = None,
                                  expiresin: Optional[int] = None,
                                  resource_uri: Optional[str] = None,
                                  service_name: Optional[Union[str, ServiceName]] = None,
                                  opts: Optional[InvokeOptions] = None) -> ListEndpointCredentialsResult
    def list_endpoint_credentials_output(endpoint_name: Optional[pulumi.Input[str]] = None,
                                  expiresin: Optional[pulumi.Input[int]] = None,
                                  resource_uri: Optional[pulumi.Input[str]] = None,
                                  service_name: Optional[pulumi.Input[Union[str, ServiceName]]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[ListEndpointCredentialsResult]
    func ListEndpointCredentials(ctx *Context, args *ListEndpointCredentialsArgs, opts ...InvokeOption) (*ListEndpointCredentialsResult, error)
    func ListEndpointCredentialsOutput(ctx *Context, args *ListEndpointCredentialsOutputArgs, opts ...InvokeOption) ListEndpointCredentialsResultOutput

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

    public static class ListEndpointCredentials 
    {
        public static Task<ListEndpointCredentialsResult> InvokeAsync(ListEndpointCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListEndpointCredentialsResult> Invoke(ListEndpointCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListEndpointCredentialsResult> listEndpointCredentials(ListEndpointCredentialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:hybridconnectivity:listEndpointCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndpointName string
    The endpoint name.
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    Expiresin int
    The is how long the endpoint access token is valid (in seconds).
    ServiceName string | Pulumi.AzureNative.HybridConnectivity.ServiceName
    The name of the service. If not provided, the request will by pass the generation of service configuration token
    EndpointName string
    The endpoint name.
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    Expiresin int
    The is how long the endpoint access token is valid (in seconds).
    ServiceName string | ServiceName
    The name of the service. If not provided, the request will by pass the generation of service configuration token
    endpointName String
    The endpoint name.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    expiresin Integer
    The is how long the endpoint access token is valid (in seconds).
    serviceName String | ServiceName
    The name of the service. If not provided, the request will by pass the generation of service configuration token
    endpointName string
    The endpoint name.
    resourceUri string
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    expiresin number
    The is how long the endpoint access token is valid (in seconds).
    serviceName string | ServiceName
    The name of the service. If not provided, the request will by pass the generation of service configuration token
    endpoint_name str
    The endpoint name.
    resource_uri str
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    expiresin int
    The is how long the endpoint access token is valid (in seconds).
    service_name str | ServiceName
    The name of the service. If not provided, the request will by pass the generation of service configuration token
    endpointName String
    The endpoint name.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource to be connected.
    expiresin Number
    The is how long the endpoint access token is valid (in seconds).
    serviceName String | "SSH" | "WAC"
    The name of the service. If not provided, the request will by pass the generation of service configuration token

    listEndpointCredentials Result

    The following output properties are available:

    AccessKey string
    Access key for hybrid connection.
    HybridConnectionName string
    Azure Relay hybrid connection name for the resource.
    NamespaceName string
    The namespace name.
    NamespaceNameSuffix string
    The suffix domain name of relay namespace.
    ExpiresOn double
    The expiration of access key in unix time.
    ServiceConfigurationToken string
    The token to access the enabled service.
    AccessKey string
    Access key for hybrid connection.
    HybridConnectionName string
    Azure Relay hybrid connection name for the resource.
    NamespaceName string
    The namespace name.
    NamespaceNameSuffix string
    The suffix domain name of relay namespace.
    ExpiresOn float64
    The expiration of access key in unix time.
    ServiceConfigurationToken string
    The token to access the enabled service.
    accessKey String
    Access key for hybrid connection.
    hybridConnectionName String
    Azure Relay hybrid connection name for the resource.
    namespaceName String
    The namespace name.
    namespaceNameSuffix String
    The suffix domain name of relay namespace.
    expiresOn Double
    The expiration of access key in unix time.
    serviceConfigurationToken String
    The token to access the enabled service.
    accessKey string
    Access key for hybrid connection.
    hybridConnectionName string
    Azure Relay hybrid connection name for the resource.
    namespaceName string
    The namespace name.
    namespaceNameSuffix string
    The suffix domain name of relay namespace.
    expiresOn number
    The expiration of access key in unix time.
    serviceConfigurationToken string
    The token to access the enabled service.
    access_key str
    Access key for hybrid connection.
    hybrid_connection_name str
    Azure Relay hybrid connection name for the resource.
    namespace_name str
    The namespace name.
    namespace_name_suffix str
    The suffix domain name of relay namespace.
    expires_on float
    The expiration of access key in unix time.
    service_configuration_token str
    The token to access the enabled service.
    accessKey String
    Access key for hybrid connection.
    hybridConnectionName String
    Azure Relay hybrid connection name for the resource.
    namespaceName String
    The namespace name.
    namespaceNameSuffix String
    The suffix domain name of relay namespace.
    expiresOn Number
    The expiration of access key in unix time.
    serviceConfigurationToken String
    The token to access the enabled service.

    Supporting Types

    ServiceName

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi