/// <summary> /// Initializes a new instance of the PrivateEndpointConnection class. /// </summary> /// <param name="id">The ID of the private endpoint connection. This /// can be used with the Azure Resource Manager to link resources /// together.</param> /// <param name="name">The name of the private endpoint /// connection.</param> /// <param name="type">The resource type.</param> /// <param name="properties">Describes the properties of an existing /// Private Endpoint connection to the Azure Cognitive Search /// service.</param> public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpointConnectionProperties properties = default(PrivateEndpointConnectionProperties)) { Id = id; Name = name; Type = type; Properties = properties; CustomInit(); }
/// <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">Describes the properties of an existing /// Private Endpoint connection to the Azure Cognitive Search /// service.</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(); }