共用方式為


ArmRecoveryServicesModelFactory.RecoveryServicesPrivateEndpointConnection Method

Definition

Initializes a new instance of RecoveryServicesPrivateEndpointConnection.

public static Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnection RecoveryServicesPrivateEndpointConnection (Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnectionProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier privateEndpointId = default, Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateLinkServiceConnectionState privateLinkServiceConnectionState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServices.Models.VaultSubResourceType> groupIds = default);
static member RecoveryServicesPrivateEndpointConnection : Nullable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnectionProvisioningState> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateLinkServiceConnectionState * seq<Azure.ResourceManager.RecoveryServices.Models.VaultSubResourceType> -> Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnection
Public Shared Function RecoveryServicesPrivateEndpointConnection (Optional provisioningState As Nullable(Of RecoveryServicesPrivateEndpointConnectionProvisioningState) = Nothing, Optional privateEndpointId As ResourceIdentifier = Nothing, Optional privateLinkServiceConnectionState As RecoveryServicesPrivateLinkServiceConnectionState = Nothing, Optional groupIds As IEnumerable(Of VaultSubResourceType) = Nothing) As RecoveryServicesPrivateEndpointConnection

Parameters

provisioningState
Nullable<RecoveryServicesPrivateEndpointConnectionProvisioningState>

Gets or sets provisioning state of the private endpoint connection.

privateEndpointId
ResourceIdentifier

The Private Endpoint network resource that is linked to the Private Endpoint connection.

privateLinkServiceConnectionState
RecoveryServicesPrivateLinkServiceConnectionState

Gets or sets private link service connection state.

groupIds
IEnumerable<VaultSubResourceType>

Group Ids for the Private Endpoint.

Returns

A new RecoveryServicesPrivateEndpointConnection instance for mocking.

Applies to