/// <summary>
 /// Initializes a new instance of the PrivateLinkResource class.
 /// </summary>
 /// <param name="id">The ID of the private link resource.</param>
 /// <param name="name">The name of the private link resource.</param>
 /// <param name="type">The resource type.</param>
 /// <param name="properties">Describes the properties of a supported
 /// private link resource for the Azure Cognitive Search
 /// service.</param>
 public PrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), PrivateLinkResourceProperties properties = default(PrivateLinkResourceProperties))
 {
     Id         = id;
     Name       = name;
     Type       = type;
     Properties = properties;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the PrivateLinkResource 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">Describes the properties of a supported
 /// private link resource for the Azure Cognitive Search
 /// service.</param>
 public PrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), PrivateLinkResourceProperties properties = default(PrivateLinkResourceProperties))
     : base(id, name, type)
 {
     Properties = properties;
     CustomInit();
 }