Interface ConfigurationProfilesVersionsClient
public interface ConfigurationProfilesVersionsClient
An instance of this class provides access to all the operations defined in ConfigurationProfilesVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String configurationProfileName, String versionName, String resourceGroupName, ConfigurationProfileInner parameters) Creates a configuration profile version.com.azure.core.http.rest.Response<ConfigurationProfileInner>
createOrUpdateWithResponse
(String configurationProfileName, String versionName, String resourceGroupName, ConfigurationProfileInner parameters, com.azure.core.util.Context context) Creates a configuration profile version.void
Delete a configuration profile version.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String configurationProfileName, String versionName, com.azure.core.util.Context context) Delete a configuration profile version.Get information about a configuration profile version.com.azure.core.http.rest.Response<ConfigurationProfileInner>
getWithResponse
(String configurationProfileName, String versionName, String resourceGroupName, com.azure.core.util.Context context) Get information about a configuration profile version.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
listChildResources
(String configurationProfileName, String resourceGroupName) Retrieve a list of configuration profile version for a configuration profile.com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner>
listChildResources
(String configurationProfileName, String resourceGroupName, com.azure.core.util.Context context) Retrieve a list of configuration profile version for a configuration profile.
-
Method Details
-
createOrUpdate
ConfigurationProfileInner createOrUpdate(String configurationProfileName, String versionName, String resourceGroupName, ConfigurationProfileInner parameters) Creates a configuration profile version.- Parameters:
configurationProfileName
- Name of the configuration profile.versionName
- The configuration profile version name.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 versionName, String resourceGroupName, ConfigurationProfileInner parameters, com.azure.core.util.Context context) Creates a configuration profile version.- Parameters:
configurationProfileName
- Name of the configuration profile.versionName
- The configuration profile version name.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.
-
get
ConfigurationProfileInner get(String configurationProfileName, String versionName, String resourceGroupName) Get information about a configuration profile version.- Parameters:
configurationProfileName
- The configuration profile name.versionName
- The configuration profile version name.resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- information about a configuration profile version.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<ConfigurationProfileInner> getWithResponse(String configurationProfileName, String versionName, String resourceGroupName, com.azure.core.util.Context context) Get information about a configuration profile version.- Parameters:
configurationProfileName
- The configuration profile name.versionName
- The configuration profile version name.resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- information about a configuration profile version 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 version.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- Name of the configuration profile.versionName
- The configuration profile version name.- 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, String versionName, com.azure.core.util.Context context) Delete a configuration profile version.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileName
- Name of the configuration profile.versionName
- The configuration profile version name.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.
-
listChildResources
com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner> listChildResources(String configurationProfileName, String resourceGroupName) Retrieve a list of configuration profile version for a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.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.
-
listChildResources
com.azure.core.http.rest.PagedIterable<ConfigurationProfileInner> listChildResources(String configurationProfileName, String resourceGroupName, com.azure.core.util.Context context) Retrieve a list of configuration profile version for a configuration profile.- Parameters:
configurationProfileName
- Name of the configuration profile.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.
-