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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 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:
- Endpoint
Name string - The endpoint name.
- Resource
Uri 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).
- Service
Name 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
- Endpoint
Name string - The endpoint name.
- Resource
Uri 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).
- Service
Name string | ServiceName - The name of the service. If not provided, the request will by pass the generation of service configuration token
- endpoint
Name String - The endpoint name.
- resource
Uri 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).
- service
Name String | ServiceName - The name of the service. If not provided, the request will by pass the generation of service configuration token
- endpoint
Name string - The endpoint name.
- resource
Uri 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).
- service
Name 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
- endpoint
Name String - The endpoint name.
- resource
Uri 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).
- service
Name 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:
- Access
Key string - Access key for hybrid connection.
- Hybrid
Connection stringName - Azure Relay hybrid connection name for the resource.
- Namespace
Name string - The namespace name.
- Namespace
Name stringSuffix - The suffix domain name of relay namespace.
- Expires
On double - The expiration of access key in unix time.
- Service
Configuration stringToken - The token to access the enabled service.
- Access
Key string - Access key for hybrid connection.
- Hybrid
Connection stringName - Azure Relay hybrid connection name for the resource.
- Namespace
Name string - The namespace name.
- Namespace
Name stringSuffix - The suffix domain name of relay namespace.
- Expires
On float64 - The expiration of access key in unix time.
- Service
Configuration stringToken - The token to access the enabled service.
- access
Key String - Access key for hybrid connection.
- hybrid
Connection StringName - Azure Relay hybrid connection name for the resource.
- namespace
Name String - The namespace name.
- namespace
Name StringSuffix - The suffix domain name of relay namespace.
- expires
On Double - The expiration of access key in unix time.
- service
Configuration StringToken - The token to access the enabled service.
- access
Key string - Access key for hybrid connection.
- hybrid
Connection stringName - Azure Relay hybrid connection name for the resource.
- namespace
Name string - The namespace name.
- namespace
Name stringSuffix - The suffix domain name of relay namespace.
- expires
On number - The expiration of access key in unix time.
- service
Configuration 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.
- access
Key String - Access key for hybrid connection.
- hybrid
Connection StringName - Azure Relay hybrid connection name for the resource.
- namespace
Name String - The namespace name.
- namespace
Name StringSuffix - The suffix domain name of relay namespace.
- expires
On Number - The expiration of access key in unix time.
- service
Configuration 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi