Interface ConfigurationProfileAssignments
public interface ConfigurationProfileAssignments
Resource collection API of ConfigurationProfileAssignments.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ConfigurationProfileAssignment resource.void
Delete a configuration profile assignment.void
deleteById
(String id) Delete a configuration profile assignment.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a configuration profile assignment.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String configurationProfileAssignmentName, String vmName, com.azure.core.util.Context context) Delete a configuration profile assignment.Get information about a configuration profile assignment.Get information about a configuration profile assignment.com.azure.core.http.rest.Response<ConfigurationProfileAssignment>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get information about a configuration profile assignment.com.azure.core.http.rest.Response<ConfigurationProfileAssignment>
getWithResponse
(String resourceGroupName, String configurationProfileAssignmentName, String vmName, com.azure.core.util.Context context) Get information about a configuration profile assignment.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
list()
Get list of configuration profile assignments under a given subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
list
(com.azure.core.util.Context context) Get list of configuration profile assignments under a given subscription.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByClusterName
(String resourceGroupName, String clusterName) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByClusterName
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByMachineName
(String resourceGroupName, String machineName) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByMachineName
(String resourceGroupName, String machineName, com.azure.core.util.Context context) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByResourceGroup
(String resourceGroupName) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByVirtualMachines
(String resourceGroupName, String vmName) Get list of configuration profile assignments.com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment>
listByVirtualMachines
(String resourceGroupName, String vmName, com.azure.core.util.Context context) Get list of configuration profile assignments.
-
Method Details
-
get
ConfigurationProfileAssignment get(String resourceGroupName, String configurationProfileAssignmentName, String vmName) Get information about a configuration profile assignment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileAssignmentName
- The configuration profile assignment name.vmName
- The name of the virtual machine.- Returns:
- information about a configuration profile assignment.
- 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<ConfigurationProfileAssignment> getWithResponse(String resourceGroupName, String configurationProfileAssignmentName, String vmName, com.azure.core.util.Context context) Get information about a configuration profile assignment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileAssignmentName
- The configuration profile assignment name.vmName
- The name of the virtual machine.context
- The context to associate with this operation.- Returns:
- information about a configuration profile assignment 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 assignment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileAssignmentName
- Name of the configuration profile assignment.vmName
- The name of the virtual machine.- 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 configurationProfileAssignmentName, String vmName, com.azure.core.util.Context context) Delete a configuration profile assignment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.configurationProfileAssignmentName
- Name of the configuration profile assignment.vmName
- The name of the virtual machine.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.
-
listByVirtualMachines
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByVirtualMachines(String resourceGroupName, String vmName) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.vmName
- The name of the virtual machine.- Returns:
- list of configuration profile assignments 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.
-
listByVirtualMachines
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByVirtualMachines(String resourceGroupName, String vmName, com.azure.core.util.Context context) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.vmName
- The name of the virtual machine.context
- The context to associate with this operation.- Returns:
- list of configuration profile assignments 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<ConfigurationProfileAssignment> listByResourceGroup(String resourceGroupName) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- list of configuration profile assignments 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<ConfigurationProfileAssignment> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- list of configuration profile assignments 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<ConfigurationProfileAssignment> list()Get list of configuration profile assignments under a given subscription.- Returns:
- list of configuration profile assignments under a given 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<ConfigurationProfileAssignment> list(com.azure.core.util.Context context) Get list of configuration profile assignments under a given subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of configuration profile assignments under a given 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.
-
listByMachineName
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByMachineName(String resourceGroupName, String machineName) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.machineName
- The name of the Arc machine.- Returns:
- list of configuration profile assignments 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.
-
listByMachineName
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByMachineName(String resourceGroupName, String machineName, com.azure.core.util.Context context) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.machineName
- The name of the Arc machine.context
- The context to associate with this operation.- Returns:
- list of configuration profile assignments 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.
-
listByClusterName
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByClusterName(String resourceGroupName, String clusterName) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.clusterName
- The name of the Arc machine.- Returns:
- list of configuration profile assignments 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.
-
listByClusterName
com.azure.core.http.rest.PagedIterable<ConfigurationProfileAssignment> listByClusterName(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Get list of configuration profile assignments.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.clusterName
- The name of the Arc machine.context
- The context to associate with this operation.- Returns:
- list of configuration profile assignments 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 assignment.- Parameters:
id
- the resource ID.- Returns:
- information about a configuration profile assignment 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<ConfigurationProfileAssignment> getByIdWithResponse(String id, com.azure.core.util.Context context) Get information about a configuration profile assignment.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- information about a configuration profile assignment 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 assignment.- 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 assignment.- 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 ConfigurationProfileAssignment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ConfigurationProfileAssignment definition.
-