Interface ConfigurationAssignments


public interface ConfigurationAssignments
Resource collection API of ConfigurationAssignments.
  • Method Details

    • createOrUpdateParentWithResponse

      com.azure.core.http.rest.Response<ConfigurationAssignment> createOrUpdateParentWithResponse(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment, com.azure.core.util.Context context)
      Create configuration assignment

      Register configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Configuration assignment name.
      configurationAssignment - The configurationAssignment.
      context - The context to associate with this operation.
      Returns:
      configuration 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.
    • createOrUpdateParent

      ConfigurationAssignment createOrUpdateParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment)
      Create configuration assignment

      Register configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Configuration assignment name.
      configurationAssignment - The configurationAssignment.
      Returns:
      configuration 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.
    • deleteParentWithResponse

      com.azure.core.http.rest.Response<ConfigurationAssignment> deleteParentWithResponse(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, com.azure.core.util.Context context)
      Unregister configuration for resource

      Unregister configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Unique configuration assignment name.
      context - The context to associate with this operation.
      Returns:
      configuration 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.
    • deleteParent

      ConfigurationAssignment deleteParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName)
      Unregister configuration for resource

      Unregister configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Unique configuration assignment name.
      Returns:
      configuration 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ConfigurationAssignment> createOrUpdateWithResponse(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment, com.azure.core.util.Context context)
      Create configuration assignment

      Register configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Configuration assignment name.
      configurationAssignment - The configurationAssignment.
      context - The context to associate with this operation.
      Returns:
      configuration 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.
    • createOrUpdate

      ConfigurationAssignment createOrUpdate(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment)
      Create configuration assignment

      Register configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Configuration assignment name.
      configurationAssignment - The configurationAssignment.
      Returns:
      configuration 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<ConfigurationAssignment> deleteWithResponse(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, com.azure.core.util.Context context)
      Unregister configuration for resource

      Unregister configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Unique configuration assignment name.
      context - The context to associate with this operation.
      Returns:
      configuration 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

      ConfigurationAssignment delete(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName)
      Unregister configuration for resource

      Unregister configuration for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      configurationAssignmentName - Unique configuration assignment name.
      Returns:
      configuration 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.
    • listParent

      com.azure.core.http.rest.PagedIterable<ConfigurationAssignment> listParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName)
      List configurationAssignments for resource

      List configurationAssignments for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      Returns:
      response for ConfigurationAssignments list 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.
    • listParent

      com.azure.core.http.rest.PagedIterable<ConfigurationAssignment> listParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, com.azure.core.util.Context context)
      List configurationAssignments for resource

      List configurationAssignments for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceParentType - Resource parent type.
      resourceParentName - Resource parent identifier.
      resourceType - Resource type.
      resourceName - Resource identifier.
      context - The context to associate with this operation.
      Returns:
      response for ConfigurationAssignments list 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<ConfigurationAssignment> list(String resourceGroupName, String providerName, String resourceType, String resourceName)
      List configurationAssignments for resource

      List configurationAssignments for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      Returns:
      response for ConfigurationAssignments list 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<ConfigurationAssignment> list(String resourceGroupName, String providerName, String resourceType, String resourceName, com.azure.core.util.Context context)
      List configurationAssignments for resource

      List configurationAssignments for resource.

      Parameters:
      resourceGroupName - Resource group name.
      providerName - Resource provider name.
      resourceType - Resource type.
      resourceName - Resource identifier.
      context - The context to associate with this operation.
      Returns:
      response for ConfigurationAssignments list 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.