azure-native.documentdb.getPrivateEndpointConnection
Explore with Pulumi AI
Gets a private endpoint connection. Azure REST API version: 2023-04-15.
Other available API versions: 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-03-01-preview, 2024-05-15, 2024-05-15-preview, 2024-06-01-preview, 2024-07-01, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-preview.
Using getPrivateEndpointConnection
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 getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointConnectionResult>
function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: InvokeOptions): Output<GetPrivateEndpointConnectionResult>
def get_private_endpoint_connection(account_name: Optional[str] = None,
private_endpoint_connection_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointConnectionResult
def get_private_endpoint_connection_output(account_name: Optional[pulumi.Input[str]] = None,
private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointConnectionResult]
func LookupPrivateEndpointConnection(ctx *Context, args *LookupPrivateEndpointConnectionArgs, opts ...InvokeOption) (*LookupPrivateEndpointConnectionResult, error)
func LookupPrivateEndpointConnectionOutput(ctx *Context, args *LookupPrivateEndpointConnectionOutputArgs, opts ...InvokeOption) LookupPrivateEndpointConnectionResultOutput
> Note: This function is named LookupPrivateEndpointConnection
in the Go SDK.
public static class GetPrivateEndpointConnection
{
public static Task<GetPrivateEndpointConnectionResult> InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointConnectionResult> Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateEndpointConnectionResult> getPrivateEndpointConnection(GetPrivateEndpointConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:documentdb:getPrivateEndpointConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Cosmos DB database account name.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Cosmos DB database account name.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- private
Endpoint StringConnection Name - The name of the private endpoint connection.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name string - Cosmos DB database account name.
- private
Endpoint stringConnection Name - The name of the private endpoint connection.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account_
name str - Cosmos DB database account name.
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- private
Endpoint StringConnection Name - The name of the private endpoint connection.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getPrivateEndpointConnection Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Group
Id string - Group id of the private endpoint.
- Private
Endpoint Pulumi.Azure Native. Document DB. Outputs. Private Endpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. Document DB. Outputs. Private Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- Provisioning
State string - Provisioning state of the private endpoint.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Group
Id string - Group id of the private endpoint.
- Private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- Provisioning
State string - Provisioning state of the private endpoint.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group
Id String - Group id of the private endpoint.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning
State String - Provisioning state of the private endpoint.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group
Id string - Group id of the private endpoint.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning
State string - Provisioning state of the private endpoint.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group_
id str - Group id of the private endpoint.
- private_
endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning_
state str - Provisioning state of the private endpoint.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group
Id String - Group id of the private endpoint.
- private
Endpoint Property Map - Private endpoint which the connection belongs to.
- private
Link Property MapService Connection State - Connection State of the Private Endpoint Connection.
- provisioning
State String - Provisioning state of the private endpoint.
Supporting Types
PrivateEndpointPropertyResponse
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PrivateLinkServiceConnectionStatePropertyResponse
- Actions
Required string - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- Actions
Required string - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- actions
Required String - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description String
- The private link service connection description.
- status String
- The private link service connection status.
- actions
Required string - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description string
- The private link service connection description.
- status string
- The private link service connection status.
- actions_
required str - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description str
- The private link service connection description.
- status str
- The private link service connection status.
- actions
Required String - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description String
- The private link service connection description.
- status String
- The private link service connection status.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0