Interface VmmServers


  • public interface VmmServers
    Resource collection API of VmmServers.
    • Method Detail

      • getByResourceGroup

        VmmServer getByResourceGroup​(String resourceGroupName,
                                     String vmmServerName)
        Implements VMMServer GET method.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmmServerName - Name of the VMMServer.
        Returns:
        the VmmServers resource definition.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<VmmServer> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                    String vmmServerName,
                                                                                    com.azure.core.util.Context context)
        Implements VMMServer GET method.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmmServerName - Name of the VMMServer.
        context - The context to associate with this operation.
        Returns:
        the VmmServers resource definition 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 vmmServerName,
                    Boolean force)
        Deboards the SCVMM fabric from Azure.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmmServerName - Name of the VMMServer.
        force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.
        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 vmmServerName)
        Deboards the SCVMM fabric from Azure.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmmServerName - Name of the VMMServer.
        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 vmmServerName,
                    Boolean force,
                    com.azure.core.util.Context context)
        Deboards the SCVMM fabric from Azure.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmmServerName - Name of the VMMServer.
        force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.
        context - The context to associate with this operation.
        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<VmmServer> listByResourceGroup​(String resourceGroupName)
        List of VmmServers in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        list of VmmServers 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<VmmServer> listByResourceGroup​(String resourceGroupName,
                                                                              com.azure.core.util.Context context)
        List of VmmServers in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        list of VmmServers 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<VmmServer> list()
        List of VmmServers in a subscription.
        Returns:
        list of VmmServers 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<VmmServer> list​(com.azure.core.util.Context context)
        List of VmmServers in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        list of VmmServers 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

        VmmServer getById​(String id)
        Implements VMMServer GET method.
        Parameters:
        id - the resource ID.
        Returns:
        the VmmServers resource definition 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<VmmServer> getByIdWithResponse​(String id,
                                                                         com.azure.core.util.Context context)
        Implements VMMServer GET method.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the VmmServers resource definition 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

        void deleteById​(String id)
        Deboards the SCVMM fabric from Azure.
        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

        void deleteByIdWithResponse​(String id,
                                    Boolean force,
                                    com.azure.core.util.Context context)
        Deboards the SCVMM fabric from Azure.
        Parameters:
        id - the resource ID.
        force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.
        context - The context to associate with this operation.
        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

        VmmServer.DefinitionStages.Blank define​(String name)
        Begins definition for a new VmmServer resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new VmmServer definition.