/// <summary> /// Gets a managed private endpoint. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='managedPrivateEndpointName'> /// The name of the managed private endpoint. /// </param> public static ManagedPrivateEndpoint Get(this IManagedPrivateEndpointsOperations operations, string resourceGroupName, string clusterName, string managedPrivateEndpointName) { return(operations.GetAsync(resourceGroupName, clusterName, managedPrivateEndpointName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a managed private endpoint. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='factoryName'> /// The factory name. /// </param> /// <param name='managedVirtualNetworkName'> /// Managed virtual network name /// </param> /// <param name='managedPrivateEndpointName'> /// Managed private endpoint name /// </param> /// <param name='ifNoneMatch'> /// ETag of the managed private endpoint entity. Should only be specified for /// get. If the ETag matches the existing entity tag, or if * was provided, /// then no content will be returned. /// </param> public static ManagedPrivateEndpointResource Get(this IManagedPrivateEndpointsOperations operations, string resourceGroupName, string factoryName, string managedVirtualNetworkName, string managedPrivateEndpointName, string ifNoneMatch = default(string)) { return(operations.GetAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, ifNoneMatch).GetAwaiter().GetResult()); }