Interface Accounts
public interface Accounts
Resource collection API of Accounts.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability
(String location, CheckNameAvailabilityParameters parameters) Checks whether the specified account name is available or taken.com.azure.core.http.rest.Response<NameAvailabilityInformation>
checkNameAvailabilityWithResponse
(String location, CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context) Checks whether the specified account name is available or taken.Begins definition for a new DataLakeAnalyticsAccount resource.void
Begins the delete process for the Data Lake Analytics account object specified by the account name.void
deleteById
(String id) Begins the delete process for the Data Lake Analytics account object specified by the account name.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Begins the delete process for the Data Lake Analytics account object specified by the account name.void
deleteByResourceGroup
(String resourceGroupName, String accountName) Begins the delete process for the Data Lake Analytics account object specified by the account name.Gets details of the specified Data Lake Analytics account.com.azure.core.http.rest.Response<DataLakeAnalyticsAccount>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets details of the specified Data Lake Analytics account.getByResourceGroup
(String resourceGroupName, String accountName) Gets details of the specified Data Lake Analytics account.com.azure.core.http.rest.Response<DataLakeAnalyticsAccount>
getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets details of the specified Data Lake Analytics account.com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic>
list()
Gets the first page of Data Lake Analytics accounts, if any, within the current subscription.com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic>
list
(String filter, Integer top, Integer skip, String select, String orderby, Boolean count, com.azure.core.util.Context context) Gets the first page of Data Lake Analytics accounts, if any, within the current subscription.com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic>
listByResourceGroup
(String resourceGroupName) Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group.com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic>
listByResourceGroup
(String resourceGroupName, String filter, Integer top, Integer skip, String select, String orderby, Boolean count, com.azure.core.util.Context context) Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic> list()Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.- Returns:
- the first page of Data Lake Analytics accounts, if any, within the current subscription as paginated
response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic> list(String filter, Integer top, Integer skip, String select, String orderby, Boolean count, com.azure.core.util.Context context) Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.- Parameters:
filter
- OData filter. Optional.top
- The number of items to return. Optional.skip
- The number of items to skip over before returning elements. Optional.select
- OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.orderby
- OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.count
- The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.context
- The context to associate with this operation.- Returns:
- the first page of Data Lake Analytics accounts, if any, within the current subscription as paginated
response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic> listByResourceGroup(String resourceGroupName) Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.- Parameters:
resourceGroupName
- The name of the Azure resource group.- Returns:
- the first page of Data Lake Analytics accounts, if any, within a specific resource group as paginated
response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DataLakeAnalyticsAccountBasic> listByResourceGroup(String resourceGroupName, String filter, Integer top, Integer skip, String select, String orderby, Boolean count, com.azure.core.util.Context context) Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.- Parameters:
resourceGroupName
- The name of the Azure resource group.filter
- OData filter. Optional.top
- The number of items to return. Optional.skip
- The number of items to skip over before returning elements. Optional.select
- OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.orderby
- OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.count
- The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.context
- The context to associate with this operation.- Returns:
- the first page of Data Lake Analytics accounts, if any, within a specific resource group as paginated
response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DataLakeAnalyticsAccount> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets details of the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.context
- The context to associate with this operation.- Returns:
- details of the specified Data Lake Analytics account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets details of the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.- Returns:
- details of the specified Data Lake Analytics account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByResourceGroup
Begins the delete process for the Data Lake Analytics account object specified by the account name.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Begins the delete process for the Data Lake Analytics account object specified by the account name.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<NameAvailabilityInformation> checkNameAvailabilityWithResponse(String location, CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context) Checks whether the specified account name is available or taken.- Parameters:
location
- The resource location without whitespace.parameters
- Parameters supplied to check the Data Lake Analytics account name availability.context
- The context to associate with this operation.- Returns:
- data Lake Analytics account name availability result information along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
NameAvailabilityInformation checkNameAvailability(String location, CheckNameAvailabilityParameters parameters) Checks whether the specified account name is available or taken.- Parameters:
location
- The resource location without whitespace.parameters
- Parameters supplied to check the Data Lake Analytics account name availability.- Returns:
- data Lake Analytics account name availability result information.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Gets details of the specified Data Lake Analytics account.- Parameters:
id
- the resource ID.- Returns:
- details of the specified Data Lake Analytics account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<DataLakeAnalyticsAccount> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets details of the specified Data Lake Analytics account.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- details of the specified Data Lake Analytics account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Begins the delete process for the Data Lake Analytics account object specified by the account name.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Begins the delete process for the Data Lake Analytics account object specified by the account name.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new DataLakeAnalyticsAccount resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DataLakeAnalyticsAccount definition.
-