/// <summary> /// Description for Gets the private link resources /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='privateLinkSubResourceName'> /// Name of the private link resource. /// </param> public static PrivateLinkResource GetPrivateLinkResource(this IPrivateEndpointConnectionOperations operations, string resourceGroupName, string serviceName, string privateLinkSubResourceName) { return(operations.GetPrivateLinkResourceAsync(resourceGroupName, serviceName, privateLinkSubResourceName).GetAwaiter().GetResult()); }