Esempio n. 1
0
 /// <summary>
 /// Lists the Data Lake Store trusted identity providers within the specified
 /// Data Lake Store account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 public static IPage <TrustedIdProvider> ListByAccount(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName)
 {
     return(operations.ListByAccountAsync(resourceGroupName, accountName).GetAwaiter().GetResult());
 }
Esempio n. 2
0
 /// <summary>
 /// Lists the Data Lake Store trusted identity providers within the specified
 /// Data Lake Store account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <TrustedIdProvider> ListByAccountNext(this ITrustedIdProvidersOperations operations, string nextPageLink)
 {
     return(operations.ListByAccountNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
Esempio n. 3
0
 /// <summary>
 /// Deletes the specified trusted identity provider from the specified Data
 /// Lake Store account
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='trustedIdProviderName'>
 /// The name of the trusted identity provider to delete.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, trustedIdProviderName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 4
0
 /// <summary>
 /// Deletes the specified trusted identity provider from the specified Data
 /// Lake Store account
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='trustedIdProviderName'>
 /// The name of the trusted identity provider to delete.
 /// </param>
 public static void Delete(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName)
 {
     operations.DeleteAsync(resourceGroupName, accountName, trustedIdProviderName).GetAwaiter().GetResult();
 }
Esempio n. 5
0
 /// <summary>
 /// Updates the specified trusted identity provider.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='trustedIdProviderName'>
 /// The name of the trusted identity provider. This is used for differentiation
 /// of providers in the account.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to update the trusted identity provider.
 /// </param>
 public static TrustedIdProvider Update(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName, UpdateTrustedIdProviderParameters parameters = default(UpdateTrustedIdProviderParameters))
 {
     return(operations.UpdateAsync(resourceGroupName, accountName, trustedIdProviderName, parameters).GetAwaiter().GetResult());
 }
Esempio n. 6
0
 /// <summary>
 /// Gets the specified Data Lake Store trusted identity provider.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='trustedIdProviderName'>
 /// The name of the trusted identity provider to retrieve.
 /// </param>
 public static TrustedIdProvider Get(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName)
 {
     return(operations.GetAsync(resourceGroupName, accountName, trustedIdProviderName).GetAwaiter().GetResult());
 }