Interface ConfigurationProfiles
public interface ConfigurationProfiles
Resource collection API of ConfigurationProfiles.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ConfigurationProfile resource.void
deleteById
(String id) Delete a configuration profile.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a configuration profile.void
deleteByResourceGroup
(String resourceGroupName, String configurationProfileName) Delete a configuration profile.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String configurationProfileName, com.azure.core.util.Context context) Delete a configuration profile.Get information about a configuration profile.com.azure.core.http.rest.Response<ConfigurationProfile>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get information about a configuration profile.getByResourceGroup
(String resourceGroupName, String configurationProfileName) Get information about a configuration profile.com.azure.core.http.rest.Response<ConfigurationProfile>
getByResourceGroupWithResponse
(String resourceGroupName, String configurationProfileName, com.azure.core.util.Context context) Get information about a configuration profile.com.azure.core.http.rest.PagedIterable<ConfigurationProfile>
list()
Retrieve a list of configuration profile within a subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfile>
list
(com.azure.core.util.Context context) Retrieve a list of configuration profile within a subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfile>
listByResourceGroup
(String resourceGroupName) Retrieve a list of configuration profile within a given resource group.com.azure.core.http.rest.PagedIterable<ConfigurationProfile>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Retrieve a list of configuration profile within a given resource group.
-
Method Details
-
getByResourceGroup
Get information about a configuration profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- The configuration profile name.- Returns:
- information about a configuration profile.
- 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<ConfigurationProfile> getByResourceGroupWithResponse(String resourceGroupName, String configurationProfileName, com.azure.core.util.Context context) Get information about a configuration profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- The configuration profile name.context
- The context to associate with this operation.- Returns:
- information about a configuration profile 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.
-
deleteByResourceGroup
Delete a configuration profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- Name of the configuration profile.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String configurationProfileName, com.azure.core.util.Context context) Delete a configuration profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- Name of the configuration profile.context
- The context to associate with this operation.- Returns:
- the
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConfigurationProfile> listByResourceGroup(String resourceGroupName) Retrieve a list of configuration profile within a given resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of the list configuration profile operation 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<ConfigurationProfile> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Retrieve a list of configuration profile within a given resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the response of the list configuration profile operation 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.
-
list
com.azure.core.http.rest.PagedIterable<ConfigurationProfile> list()Retrieve a list of configuration profile within a subscription.- Returns:
- the response of the list configuration profile operation 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<ConfigurationProfile> list(com.azure.core.util.Context context) Retrieve a list of configuration profile within a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- the response of the list configuration profile operation 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.
-
getById
Get information about a configuration profile.- Parameters:
id
- the resource ID.- Returns:
- information about a configuration profile 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<ConfigurationProfile> getByIdWithResponse(String id, com.azure.core.util.Context context) Get information about a configuration profile.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- information about a configuration profile 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
Delete a configuration profile.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a configuration profile.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the
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.
-
define
Begins definition for a new ConfigurationProfile resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ConfigurationProfile definition.
-