Пример #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// PrivateEndpointConnectionProperties 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 PrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string))
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the PrivateEndpointConnection class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</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();
 }