/// <summary>
 /// Initializes a new instance of the PrivateEndpointConnection class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="privateEndpoint">The resource of private end
 /// point.</param>
 /// <param name="privateLinkServiceConnectionState">A collection of
 /// information about the state of the connection between service
 /// consumer and provider.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. This name can be used to access the
 /// resource.</param>
 public PrivateEndpointConnection(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string name = default(string))
     : base(id)
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     Name = name;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the PrivateLinkServiceConnection
 /// class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="privateLinkServiceId">The resource id of private link
 /// service.</param>
 /// <param name="groupIds">The ID(s) of the group(s) obtained from the
 /// remote resource that this private endpoint should connect
 /// to.</param>
 /// <param name="requestMessage">A message passed to the owner of the
 /// remote resource with this connection request. Restricted to 140
 /// chars.</param>
 /// <param name="privateLinkServiceConnectionState">A collection of
 /// read-only information about the state of the connection to the
 /// remote resource.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. This name can be used to access the
 /// resource.</param>
 public PrivateLinkServiceConnection(string id = default(string), string privateLinkServiceId = default(string), IList <string> groupIds = default(IList <string>), string requestMessage = default(string), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string name = default(string))
     : base(id)
 {
     PrivateLinkServiceId = privateLinkServiceId;
     GroupIds             = groupIds;
     RequestMessage       = requestMessage;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     Name = name;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the PrivateEndpointConnection class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="privateEndpoint">The resource of private end
 /// point.</param>
 /// <param name="privateLinkServiceConnectionState">A collection of
 /// information about the state of the connection between service
 /// consumer and provider.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// private endpoint connection. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. This name can be used to access the
 /// resource.</param>
 /// <param name="type">The resource type.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public PrivateEndpointConnection(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string), string name = default(string), string type = default(string), string etag = default(string))
     : base(id)
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     ProvisioningState = provisioningState;
     Name = name;
     Type = type;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayPrivateEndpointConnection class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="privateEndpoint">The resource of private end
 /// point.</param>
 /// <param name="privateLinkServiceConnectionState">A collection of
 /// information about the state of the connection between service
 /// consumer and provider.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// application gateway private endpoint connection resource. Possible
 /// values include: 'Succeeded', 'Updating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="linkIdentifier">The consumer link id.</param>
 /// <param name="name">Name of the private endpoint connection on an
 /// application gateway.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Type of the resource.</param>
 public ApplicationGatewayPrivateEndpointConnection(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string), string linkIdentifier = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     ProvisioningState = provisioningState;
     LinkIdentifier    = linkIdentifier;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }