Example #1
0
 /// <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">The private endpoint which the
 /// connection belongs to.</param>
 /// <param name="privateLinkServiceConnectionState">Connection state of
 /// the private endpoint connection.</param>
 /// <param name="provisioningState">Provisioning state of the private
 /// endpoint connection.</param>
 public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string))
     : base(id, name, type)
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     ProvisioningState = provisioningState;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// PrivateEndpointConnectionForPrivateLinkHubBasic class.
 /// </summary>
 /// <param name="id">identifier</param>
 /// <param name="privateEndpoint">The private endpoint which the
 /// connection belongs to.</param>
 /// <param name="privateLinkServiceConnectionState">Connection state of
 /// the private endpoint connection.</param>
 /// <param name="provisioningState">Provisioning state of the private
 /// endpoint connection.</param>
 public PrivateEndpointConnectionForPrivateLinkHubBasic(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string))
 {
     Id = id;
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     ProvisioningState = provisioningState;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// PrivateEndpointConnectionForPrivateLinkHub class.
 /// </summary>
 /// <param name="id">identifier</param>
 /// <param name="privateEndpoint">The private endpoint which the
 /// connection belongs to.</param>
 /// <param name="privateLinkServiceConnectionState">Connection state of
 /// the private endpoint connection.</param>
 /// <param name="provisioningState">Provisioning state of the private
 /// endpoint connection.</param>
 public PrivateEndpointConnectionForPrivateLinkHub(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string), string name = default(string), string type = default(string))
     : base(id, privateEndpoint, privateLinkServiceConnectionState, provisioningState)
 {
     Name = name;
     Type = type;
     CustomInit();
 }