/// <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. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="etag">Resource Etag.</param>
 /// <param name="properties">Resource properties.</param>
 /// <param name="location">The location of the private endpoint
 /// connection</param>
 public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), PrivateEndpointConnectionProperties properties = default(PrivateEndpointConnectionProperties), SystemData systemData = default(SystemData), string location = default(string))
     : base(id, name, type, etag)
 {
     Properties = properties;
     SystemData = systemData;
     Location   = location;
     CustomInit();
 }
Example #2
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="properties">Resource properties.</param>
 public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpointConnectionProperties properties = default(PrivateEndpointConnectionProperties))
     : base(id, name, type)
 {
     Properties = properties;
     CustomInit();
 }