Interface ConfigurationProfileAssignmentsClient


public interface ConfigurationProfileAssignmentsClient
An instance of this class provides access to all the operations defined in ConfigurationProfileAssignmentsClient.
  • Method Details

    • createOrUpdate

      ConfigurationProfileAssignmentInner createOrUpdate(String configurationProfileAssignmentName, String resourceGroupName, String vmName, ConfigurationProfileAssignmentInner parameters)
      Creates an association between a VM and Automanage configuration profile.
      Parameters:
      configurationProfileAssignmentName - Name of the configuration profile assignment. Only default is supported.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmName - The name of the virtual machine.
      parameters - Parameters supplied to the create or update configuration profile assignment.
      Returns:
      configuration profile assignment is an association between a VM and automanage profile configuration.
      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<ConfigurationProfileAssignmentInner> createOrUpdateWithResponse(String configurationProfileAssignmentName, String resourceGroupName, String vmName, ConfigurationProfileAssignmentInner parameters, com.azure.core.util.Context context)
      Creates an association between a VM and Automanage configuration profile.
      Parameters:
      configurationProfileAssignmentName - Name of the configuration profile assignment. Only default is supported.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmName - The name of the virtual machine.
      parameters - Parameters supplied to the create or update configuration profile assignment.
      context - The context to associate with this operation.
      Returns:
      configuration profile assignment is an association between a VM and automanage profile configuration 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

      ConfigurationProfileAssignmentInner 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<ConfigurationProfileAssignmentInner> 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

      void delete(String resourceGroupName, String configurationProfileAssignmentName, String vmName)
      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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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<ConfigurationProfileAssignmentInner> 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.