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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.hybridconnectivity.listEndpointCredentials
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 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)
public static Output<ListEndpointCredentialsResult> listEndpointCredentials(ListEndpointCredentialsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:hybridconnectivity:listEndpointCredentials
  arguments:
    # arguments dictionaryThe 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.Azure Native. Hybrid Connectivity. Service Name 
- 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.
- HybridConnection stringName 
- Azure Relay hybrid connection name for the resource.
- NamespaceName string
- The namespace name.
- NamespaceName stringSuffix 
- The suffix domain name of relay namespace.
- ExpiresOn double
- The expiration of access key in unix time.
- ServiceConfiguration stringToken 
- The token to access the enabled service.
- AccessKey string
- Access key for hybrid connection.
- HybridConnection stringName 
- Azure Relay hybrid connection name for the resource.
- NamespaceName string
- The namespace name.
- NamespaceName stringSuffix 
- The suffix domain name of relay namespace.
- ExpiresOn float64
- The expiration of access key in unix time.
- ServiceConfiguration stringToken 
- The token to access the enabled service.
- accessKey String
- Access key for hybrid connection.
- hybridConnection StringName 
- Azure Relay hybrid connection name for the resource.
- namespaceName String
- The namespace name.
- namespaceName StringSuffix 
- The suffix domain name of relay namespace.
- expiresOn Double
- The expiration of access key in unix time.
- serviceConfiguration StringToken 
- The token to access the enabled service.
- accessKey string
- Access key for hybrid connection.
- hybridConnection stringName 
- Azure Relay hybrid connection name for the resource.
- namespaceName string
- The namespace name.
- namespaceName stringSuffix 
- The suffix domain name of relay namespace.
- expiresOn number
- The expiration of access key in unix time.
- serviceConfiguration stringToken 
- The token to access the enabled service.
- access_key str
- Access key for hybrid connection.
- hybrid_connection_ strname 
- Azure Relay hybrid connection name for the resource.
- namespace_name str
- The namespace name.
- namespace_name_ strsuffix 
- The suffix domain name of relay namespace.
- expires_on float
- The expiration of access key in unix time.
- service_configuration_ strtoken 
- The token to access the enabled service.
- accessKey String
- Access key for hybrid connection.
- hybridConnection StringName 
- Azure Relay hybrid connection name for the resource.
- namespaceName String
- The namespace name.
- namespaceName StringSuffix 
- The suffix domain name of relay namespace.
- expiresOn Number
- The expiration of access key in unix time.
- serviceConfiguration StringToken 
- The token to access the enabled service.
Supporting Types
ServiceName 
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi