Interface ConfigurationProfileHcrpAssignmentsClient


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

    • createOrUpdate

      ConfigurationProfileAssignmentInner createOrUpdate(String resourceGroupName, String machineName, String configurationProfileAssignmentName, ConfigurationProfileAssignmentInner parameters)
      Creates an association between a ARC machine and Automanage configuration profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - Name of the configuration profile assignment. Only default is supported.
      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 resourceGroupName, String machineName, String configurationProfileAssignmentName, ConfigurationProfileAssignmentInner parameters, com.azure.core.util.Context context)
      Creates an association between a ARC machine and Automanage configuration profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - Name of the configuration profile assignment. Only default is supported.
      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 machineName, String configurationProfileAssignmentName)
      Get information about a configuration profile assignment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - The configuration profile assignment name.
      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 machineName, String configurationProfileAssignmentName, 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.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - The configuration profile assignment name.
      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 machineName, String configurationProfileAssignmentName)
      Delete a configuration profile assignment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - Name of the 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String machineName, String configurationProfileAssignmentName, com.azure.core.util.Context context)
      Delete a configuration profile assignment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the Arc machine.
      configurationProfileAssignmentName - Name of the configuration profile assignment.
      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.