Interface ConfigurationProfilesClient
public interface ConfigurationProfilesClient
An instance of this class provides access to all the operations defined in ConfigurationProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String configurationProfileName, String resourceGroupName, ConfigurationProfileInner parameters) Creates a configuration profile.com.azure.core.http.rest.Response<ConfigurationProfileInner>
createOrUpdateWithResponse
(String configurationProfileName, String resourceGroupName, ConfigurationProfileInner parameters, com.azure.core.util.Context context) Creates a configuration profile.void
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.getByResourceGroup
(String resourceGroupName, String configurationProfileName) Get information about a configuration profile.com.azure.core.http.rest.Response<ConfigurationProfileInner>
getByResourceGroupWithResponse
(String resourceGroupName, String configurationProfileName, com.azure.core.util.Context context) Get information about a configuration profile.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
list()
Retrieve a list of configuration profile within a subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
list
(com.azure.core.util.Context context) Retrieve a list of configuration profile within a subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
listByResourceGroup
(String resourceGroupName) Retrieve a list of configuration profile within a given resource group.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Retrieve a list of configuration profile within a given resource group.update
(String configurationProfileName, String resourceGroupName, ConfigurationProfileUpdate parameters) Updates a configuration profile.com.azure.core.http.rest.Response<ConfigurationProfileInner>
updateWithResponse
(String configurationProfileName, String resourceGroupName, ConfigurationProfileUpdate parameters, com.azure.core.util.Context context) Updates a configuration profile.
-
Method Details
-
createOrUpdate
ConfigurationProfileInner createOrUpdate(String configurationProfileName, String resourceGroupName, ConfigurationProfileInner parameters) Creates a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- Parameters supplied to create or update configuration profile.- Returns:
- definition 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ConfigurationProfileInner> createOrUpdateWithResponse(String configurationProfileName, String resourceGroupName, ConfigurationProfileInner parameters, com.azure.core.util.Context context) Creates a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- Parameters supplied to create or update configuration profile.context
- The context to associate with this operation.- Returns:
- definition of the 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.
-
getByResourceGroup
ConfigurationProfileInner getByResourceGroup(String resourceGroupName, String configurationProfileName) 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<ConfigurationProfileInner> 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.
-
delete
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.
-
update
ConfigurationProfileInner update(String configurationProfileName, String resourceGroupName, ConfigurationProfileUpdate parameters) Updates a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- Parameters supplied to update configuration profile.- Returns:
- definition 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.
-
updateWithResponse
com.azure.core.http.rest.Response<ConfigurationProfileInner> updateWithResponse(String configurationProfileName, String resourceGroupName, ConfigurationProfileUpdate parameters, com.azure.core.util.Context context) Updates a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- Parameters supplied to update configuration profile.context
- The context to associate with this operation.- Returns:
- definition of the 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner> 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<ConfigurationProfileInner> 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<ConfigurationProfileInner> 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<ConfigurationProfileInner> 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.
-