/// <summary> /// Initializes a new instance of the SharedPrivateLinkResource class. /// </summary> /// <param name="name">The name of the shared private link /// resource.</param> /// <param name="id">The ID of the shared private link /// resource.</param> /// <param name="type">The resource type.</param> /// <param name="properties">Describes the properties of a Shared /// Private Link Resource managed by the Azure Cognitive Search /// service.</param> public SharedPrivateLinkResource(string name = default(string), string id = default(string), string type = default(string), SharedPrivateLinkResourceProperties properties = default(SharedPrivateLinkResourceProperties)) { Name = name; Id = id; Type = type; Properties = properties; CustomInit(); }
/// <summary> /// Initializes a new instance of the SharedPrivateLinkResource 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 Shared /// Private Link Resource managed by the Azure Cognitive Search /// service.</param> public SharedPrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), SharedPrivateLinkResourceProperties properties = default(SharedPrivateLinkResourceProperties)) : base(id, name, type) { Properties = properties; CustomInit(); }