/// <summary> /// Initializes a new instance of the PrivateEndpointConnection class. /// </summary> /// <param name="privateLinkServiceConnectionState">A collection of /// information about the state of the connection between service /// consumer and provider.</param> /// <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="privateEndpoint">The resource of private end /// point.</param> /// <param name="provisioningState">The provisioning state of the /// private endpoint connection resource. Possible values include: /// 'Succeeded', 'Creating', 'Deleting', 'Failed'</param> public PrivateEndpointConnection(PrivateLinkServiceConnectionState privateLinkServiceConnectionState, string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), string provisioningState = default(string)) : base(id, name, type) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// PrivateEndpointConnectionDescription class. /// </summary> /// <param name="privateLinkServiceConnectionState">A collection of /// information about the state of the connection between service /// consumer and provider.</param> /// <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="privateEndpoint">The resource of private end /// point.</param> /// <param name="provisioningState">The provisioning state of the /// private endpoint connection resource. Possible values include: /// 'Succeeded', 'Creating', 'Deleting', 'Failed'</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> public PrivateEndpointConnectionDescription(PrivateLinkServiceConnectionState privateLinkServiceConnectionState, string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), string provisioningState = default(string), SystemData systemData = default(SystemData)) : base(privateLinkServiceConnectionState, id, name, type, privateEndpoint, provisioningState) { SystemData = systemData; CustomInit(); }