Interface CloudServiceOperatingSystemsClient


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OSFamilyInner getOSFamily​(String location, String osFamilyName)
      Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
      Mono<OSFamilyInner> getOSFamilyAsync​(String location, String osFamilyName)
      Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.Response<OSFamilyInner> getOSFamilyWithResponse​(String location, String osFamilyName, com.azure.core.util.Context context)
      Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
      Mono<com.azure.core.http.rest.Response<OSFamilyInner>> getOSFamilyWithResponseAsync​(String location, String osFamilyName)
      Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
      OSVersionInner getOSVersion​(String location, String osVersionName)
      Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
      Mono<OSVersionInner> getOSVersionAsync​(String location, String osVersionName)
      Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.Response<OSVersionInner> getOSVersionWithResponse​(String location, String osVersionName, com.azure.core.util.Context context)
      Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
      Mono<com.azure.core.http.rest.Response<OSVersionInner>> getOSVersionWithResponseAsync​(String location, String osVersionName)
      Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedIterable<OSFamilyInner> listOSFamilies​(String location)
      Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedIterable<OSFamilyInner> listOSFamilies​(String location, com.azure.core.util.Context context)
      Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedFlux<OSFamilyInner> listOSFamiliesAsync​(String location)
      Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedIterable<OSVersionInner> listOSVersions​(String location)
      Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedIterable<OSVersionInner> listOSVersions​(String location, com.azure.core.util.Context context)
      Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service.
      com.azure.core.http.rest.PagedFlux<OSVersionInner> listOSVersionsAsync​(String location)
      Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service.
    • Method Detail

      • getOSVersionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<OSVersionInner>> getOSVersionWithResponseAsync​(String location,
                                                                                              String osVersionName)
        Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS version pertains to.
        osVersionName - Name of the OS version.
        Returns:
        properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSVersionAsync

        Mono<OSVersionInner> getOSVersionAsync​(String location,
                                               String osVersionName)
        Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS version pertains to.
        osVersionName - Name of the OS version.
        Returns:
        properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSVersion

        OSVersionInner getOSVersion​(String location,
                                    String osVersionName)
        Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS version pertains to.
        osVersionName - Name of the OS version.
        Returns:
        properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSVersionWithResponse

        com.azure.core.http.rest.Response<OSVersionInner> getOSVersionWithResponse​(String location,
                                                                                   String osVersionName,
                                                                                   com.azure.core.util.Context context)
        Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS version pertains to.
        osVersionName - Name of the OS version.
        context - The context to associate with this operation.
        Returns:
        properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSVersionsAsync

        com.azure.core.http.rest.PagedFlux<OSVersionInner> listOSVersionsAsync​(String location)
        Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
        Parameters:
        location - Name of the location that the OS versions pertain to.
        Returns:
        a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSVersions

        com.azure.core.http.rest.PagedIterable<OSVersionInner> listOSVersions​(String location)
        Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
        Parameters:
        location - Name of the location that the OS versions pertain to.
        Returns:
        a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSVersions

        com.azure.core.http.rest.PagedIterable<OSVersionInner> listOSVersions​(String location,
                                                                              com.azure.core.util.Context context)
        Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
        Parameters:
        location - Name of the location that the OS versions pertain to.
        context - The context to associate with this operation.
        Returns:
        a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSFamilyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<OSFamilyInner>> getOSFamilyWithResponseAsync​(String location,
                                                                                            String osFamilyName)
        Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS family pertains to.
        osFamilyName - Name of the OS family.
        Returns:
        properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSFamilyAsync

        Mono<OSFamilyInner> getOSFamilyAsync​(String location,
                                             String osFamilyName)
        Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS family pertains to.
        osFamilyName - Name of the OS family.
        Returns:
        properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSFamily

        OSFamilyInner getOSFamily​(String location,
                                  String osFamilyName)
        Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS family pertains to.
        osFamilyName - Name of the OS family.
        Returns:
        properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSFamilyWithResponse

        com.azure.core.http.rest.Response<OSFamilyInner> getOSFamilyWithResponse​(String location,
                                                                                 String osFamilyName,
                                                                                 com.azure.core.util.Context context)
        Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
        Parameters:
        location - Name of the location that the OS family pertains to.
        osFamilyName - Name of the OS family.
        context - The context to associate with this operation.
        Returns:
        properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSFamiliesAsync

        com.azure.core.http.rest.PagedFlux<OSFamilyInner> listOSFamiliesAsync​(String location)
        Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
        Parameters:
        location - Name of the location that the OS families pertain to.
        Returns:
        a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSFamilies

        com.azure.core.http.rest.PagedIterable<OSFamilyInner> listOSFamilies​(String location)
        Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
        Parameters:
        location - Name of the location that the OS families pertain to.
        Returns:
        a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOSFamilies

        com.azure.core.http.rest.PagedIterable<OSFamilyInner> listOSFamilies​(String location,
                                                                             com.azure.core.util.Context context)
        Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
        Parameters:
        location - Name of the location that the OS families pertain to.
        context - The context to associate with this operation.
        Returns:
        a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.