/// <summary> /// Initializes a new instance of the /// ServerPrivateEndpointConnectionProperties class. /// </summary> /// <param name="privateEndpoint">Private endpoint which the connection /// belongs to.</param> /// <param name="privateLinkServiceConnectionState">Connection state of /// the private endpoint connection.</param> /// <param name="provisioningState">State of the private endpoint /// connection. Possible values include: 'Approving', 'Ready', /// 'Dropping', 'Failed', 'Rejecting'</param> public ServerPrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(ServerPrivateLinkServiceConnectionStateProperty), string provisioningState = default(string)) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; CustomInit(); }
/// <summary> /// Initializes a new instance of the PrivateEndpointConnection class. /// </summary> /// <param name="id">Fully qualified resource Id for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. Ex- /// Microsoft.Compute/virtualMachines or /// Microsoft.Storage/storageAccounts.</param> /// <param name="privateEndpoint">Private endpoint which the connection /// belongs to.</param> /// <param name="privateLinkServiceConnectionState">Connection state of /// the private endpoint connection.</param> /// <param name="provisioningState">State of the private endpoint /// connection.</param> public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string)) : base(id, name, type) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; CustomInit(); }