你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TrustedIdProviders Interface

public interface TrustedIdProviders

An instance of this class provides access to all the operations defined in TrustedIdProviders.

Method Summary

Modifier and Type Method and Description
TrustedIdProvider createOrUpdate(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Observable<TrustedIdProvider> createOrUpdateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

ServiceFuture<TrustedIdProvider> createOrUpdateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters, final ServiceCallback<TrustedIdProvider> serviceCallback)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Observable<ServiceResponse<TrustedIdProvider>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

void delete(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Observable<Void> deleteAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

ServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback<Void> serviceCallback)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

TrustedIdProvider get(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

Observable<TrustedIdProvider> getAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

ServiceFuture<TrustedIdProvider> getAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback<TrustedIdProvider> serviceCallback)

Gets the specified Data Lake Store trusted identity provider.

Observable<ServiceResponse<TrustedIdProvider>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

PagedList<TrustedIdProvider> listByAccount(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Observable<Page<TrustedIdProvider>> listByAccountAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

ServiceFuture<List<TrustedIdProvider>> listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback<TrustedIdProvider> serviceCallback)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

PagedList<TrustedIdProvider> listByAccountNext(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Observable<Page<TrustedIdProvider>> listByAccountNextAsync(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

ServiceFuture<List<TrustedIdProvider>> listByAccountNextAsync(final String nextPageLink, final ServiceFuture<List<TrustedIdProvider>> serviceFuture, final ListOperationCallback<TrustedIdProvider> serviceCallback)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Observable<ServiceResponse<Page<TrustedIdProvider>>> listByAccountNextWithServiceResponseAsync(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Observable<ServiceResponse<Page<TrustedIdProvider>>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

TrustedIdProvider update(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

TrustedIdProvider update(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

Observable<TrustedIdProvider> updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

ServiceFuture<TrustedIdProvider> updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback<TrustedIdProvider> serviceCallback)

Updates the specified trusted identity provider.

Observable<TrustedIdProvider> updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

ServiceFuture<TrustedIdProvider> updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters, final ServiceCallback<TrustedIdProvider> serviceCallback)

Updates the specified trusted identity provider.

Observable<ServiceResponse<TrustedIdProvider>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

Observable<ServiceResponse<TrustedIdProvider>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

Method Details

createOrUpdate

public TrustedIdProvider createOrUpdate(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to add or replace the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to create or replace the trusted identity provider.

Returns:

the TrustedIdProvider object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

createOrUpdateAsync

public Observable createOrUpdateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to add or replace the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to create or replace the trusted identity provider.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateAsync

public ServiceFuture createOrUpdateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters, final ServiceCallback serviceCallback)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to add or replace the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to create or replace the trusted identity provider.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateWithServiceResponseAsync

public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName, TrustedIdProvider parameters)

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to add or replace the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to create or replace the trusted identity provider.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public void delete(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to delete the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to delete.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteAsync

public Observable deleteAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to delete the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to delete.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback serviceCallback)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to delete the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to delete the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to delete.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public TrustedIdProvider get(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to retrieve.

Returns:

the TrustedIdProvider object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to retrieve.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback serviceCallback)

Gets the specified Data Lake Store trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to retrieve.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Gets the specified Data Lake Store trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider to retrieve.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccount

public PagedList listByAccount(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity providers.

Returns:

the PagedList<TrustedIdProvider> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByAccountAsync

public Observable> listByAccountAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity providers.

Returns:

the observable to the PagedList<TrustedIdProvider> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountAsync

public ServiceFuture> listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback serviceCallback)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity providers.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNext

public PagedList listByAccountNext(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<TrustedIdProvider> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByAccountNextAsync

public Observable> listByAccountNextAsync(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<TrustedIdProvider> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNextAsync

public ServiceFuture> listByAccountNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountNextWithServiceResponseAsync

public Observable>> listByAccountNextWithServiceResponseAsync(final String nextPageLink)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<TrustedIdProvider> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByAccountWithServiceResponseAsync

public Observable>> listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)

Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account from which to get the trusted identity providers.

Returns:

the observable to the PagedList<TrustedIdProvider> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public TrustedIdProvider update(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.

Returns:

the TrustedIdProvider object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

update

public TrustedIdProvider update(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to update the trusted identity provider.

Returns:

the TrustedIdProvider object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, final ServiceCallback serviceCallback)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to update the trusted identity provider.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters, final ServiceCallback serviceCallback)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to update the trusted identity provider.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String trustedIdProviderName, UpdateTrustedIdProviderParameters parameters)

Updates the specified trusted identity provider.

Parameters:

resourceGroupName - The name of the Azure resource group that contains the Data Lake Store account.
accountName - The name of the Data Lake Store account to which to update the trusted identity provider.
trustedIdProviderName - The name of the trusted identity provider. This is used for differentiation of providers in the account.
parameters - Parameters supplied to update the trusted identity provider.

Returns:

the observable to the TrustedIdProvider object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to