Class ComputeNodeExtensionsImpl

    • Constructor Detail

      • ComputeNodeExtensionsImpl

        public ComputeNodeExtensionsImpl​(retrofit2.Retrofit retrofit,
                                         BatchServiceClientImpl client)
        Initializes an instance of ComputeNodeExtensionsImpl.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • get

        public NodeVMExtension get​(String poolId,
                                   String nodeId,
                                   String extensionName)
        Gets information about the specified Compute Node Extension.
        Specified by:
        get in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        Returns:
        the NodeVMExtension object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getAsync

        public com.microsoft.rest.ServiceFuture<NodeVMExtension> getAsync​(String poolId,
                                                                          String nodeId,
                                                                          String extensionName,
                                                                          com.microsoft.rest.ServiceCallback<NodeVMExtension> serviceCallback)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getAsync

        public rx.Observable<NodeVMExtension> getAsync​(String poolId,
                                                       String nodeId,
                                                       String extensionName)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        Returns:
        the observable to the NodeVMExtension object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<NodeVMExtension,​ComputeNodeExtensionGetHeaders>> getWithServiceResponseAsync​(String poolId,
                                                                                                                                                              String nodeId,
                                                                                                                                                              String extensionName)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getWithServiceResponseAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        Returns:
        the observable to the NodeVMExtension object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • get

        public NodeVMExtension get​(String poolId,
                                   String nodeId,
                                   String extensionName,
                                   ComputeNodeExtensionGetOptions computeNodeExtensionGetOptions)
        Gets information about the specified Compute Node Extension.
        Specified by:
        get in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        computeNodeExtensionGetOptions - Additional parameters for the operation
        Returns:
        the NodeVMExtension object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getAsync

        public com.microsoft.rest.ServiceFuture<NodeVMExtension> getAsync​(String poolId,
                                                                          String nodeId,
                                                                          String extensionName,
                                                                          ComputeNodeExtensionGetOptions computeNodeExtensionGetOptions,
                                                                          com.microsoft.rest.ServiceCallback<NodeVMExtension> serviceCallback)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        computeNodeExtensionGetOptions - Additional parameters for the operation
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getAsync

        public rx.Observable<NodeVMExtension> getAsync​(String poolId,
                                                       String nodeId,
                                                       String extensionName,
                                                       ComputeNodeExtensionGetOptions computeNodeExtensionGetOptions)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        computeNodeExtensionGetOptions - Additional parameters for the operation
        Returns:
        the observable to the NodeVMExtension object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<NodeVMExtension,​ComputeNodeExtensionGetHeaders>> getWithServiceResponseAsync​(String poolId,
                                                                                                                                                              String nodeId,
                                                                                                                                                              String extensionName,
                                                                                                                                                              ComputeNodeExtensionGetOptions computeNodeExtensionGetOptions)
        Gets information about the specified Compute Node Extension.
        Specified by:
        getWithServiceResponseAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that contains the extensions.
        extensionName - The name of the of the Compute Node Extension that you want to get information about.
        computeNodeExtensionGetOptions - Additional parameters for the operation
        Returns:
        the observable to the NodeVMExtension object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        public com.microsoft.azure.PagedList<NodeVMExtension> list​(String poolId,
                                                                   String nodeId)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        list in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        Returns:
        the PagedList<NodeVMExtension> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listAsync

        public com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> listAsync​(String poolId,
                                                                                 String nodeId,
                                                                                 com.microsoft.azure.ListOperationCallback<NodeVMExtension> serviceCallback)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAsync

        public rx.Observable<com.microsoft.azure.Page<NodeVMExtension>> listAsync​(String poolId,
                                                                                  String nodeId)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        Returns:
        the observable to the PagedList<NodeVMExtension> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeVMExtension>,​ComputeNodeExtensionListHeaders>> listWithServiceResponseAsync​(String poolId,
                                                                                                                                                                                          String nodeId)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listWithServiceResponseAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        Returns:
        the observable to the PagedList<NodeVMExtension> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeVMExtension>,​ComputeNodeExtensionListHeaders>> listSinglePageAsync​(String poolId,
                                                                                                                                                                                 String nodeId)
        Lists the Compute Nodes Extensions in the specified Pool.
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        Returns:
        the PagedList<NodeVMExtension> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        public com.microsoft.azure.PagedList<NodeVMExtension> list​(String poolId,
                                                                   String nodeId,
                                                                   ComputeNodeExtensionListOptions computeNodeExtensionListOptions)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        list in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        computeNodeExtensionListOptions - Additional parameters for the operation
        Returns:
        the PagedList<NodeVMExtension> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listAsync

        public com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> listAsync​(String poolId,
                                                                                 String nodeId,
                                                                                 ComputeNodeExtensionListOptions computeNodeExtensionListOptions,
                                                                                 com.microsoft.azure.ListOperationCallback<NodeVMExtension> serviceCallback)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        computeNodeExtensionListOptions - Additional parameters for the operation
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAsync

        public rx.Observable<com.microsoft.azure.Page<NodeVMExtension>> listAsync​(String poolId,
                                                                                  String nodeId,
                                                                                  ComputeNodeExtensionListOptions computeNodeExtensionListOptions)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listAsync in interface ComputeNodeExtensions
        Parameters:
        poolId - The ID of the Pool that contains Compute Node.
        nodeId - The ID of the Compute Node that you want to list extensions.
        computeNodeExtensionListOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<NodeVMExtension> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeVMExtension>,​ComputeNodeExtensionListHeaders>> listSinglePageAsync​(String poolId,
                                                                                                                                                                                 String nodeId,
                                                                                                                                                                                 ComputeNodeExtensionListOptions computeNodeExtensionListOptions)
        Lists the Compute Nodes Extensions in the specified Pool. ServiceResponseWithHeaders, ComputeNodeExtensionListHeaders> * @param poolId The ID of the Pool that contains Compute Node. ServiceResponseWithHeaders, ComputeNodeExtensionListHeaders> * @param nodeId The ID of the Compute Node that you want to list extensions. ServiceResponseWithHeaders, ComputeNodeExtensionListHeaders> * @param computeNodeExtensionListOptions Additional parameters for the operation
        Returns:
        the PagedList<NodeVMExtension> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        public com.microsoft.azure.PagedList<NodeVMExtension> listNext​(String nextPageLink)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNext in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<NodeVMExtension> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listNextAsync

        public com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> listNextAsync​(String nextPageLink,
                                                                                     com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> serviceFuture,
                                                                                     com.microsoft.azure.ListOperationCallback<NodeVMExtension> serviceCallback)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNextAsync in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        serviceFuture - the ServiceFuture object tracking the Retrofit calls
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextAsync

        public rx.Observable<com.microsoft.azure.Page<NodeVMExtension>> listNextAsync​(String nextPageLink)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNextAsync in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<NodeVMExtension> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeVMExtension>,​ComputeNodeExtensionListHeaders>> listNextSinglePageAsync​(String nextPageLink)
        Lists the Compute Nodes Extensions in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<NodeVMExtension> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        public com.microsoft.azure.PagedList<NodeVMExtension> listNext​(String nextPageLink,
                                                                       ComputeNodeExtensionListNextOptions computeNodeExtensionListNextOptions)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNext in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeExtensionListNextOptions - Additional parameters for the operation
        Returns:
        the PagedList<NodeVMExtension> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        BatchErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listNextAsync

        public com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> listNextAsync​(String nextPageLink,
                                                                                     ComputeNodeExtensionListNextOptions computeNodeExtensionListNextOptions,
                                                                                     com.microsoft.rest.ServiceFuture<List<NodeVMExtension>> serviceFuture,
                                                                                     com.microsoft.azure.ListOperationCallback<NodeVMExtension> serviceCallback)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNextAsync in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeExtensionListNextOptions - Additional parameters for the operation
        serviceFuture - the ServiceFuture object tracking the Retrofit calls
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextAsync

        public rx.Observable<com.microsoft.azure.Page<NodeVMExtension>> listNextAsync​(String nextPageLink,
                                                                                      ComputeNodeExtensionListNextOptions computeNodeExtensionListNextOptions)
        Lists the Compute Nodes Extensions in the specified Pool.
        Specified by:
        listNextAsync in interface ComputeNodeExtensions
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeExtensionListNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<NodeVMExtension> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeVMExtension>,​ComputeNodeExtensionListHeaders>> listNextSinglePageAsync​(String nextPageLink,
                                                                                                                                                                                     ComputeNodeExtensionListNextOptions computeNodeExtensionListNextOptions)
        Lists the Compute Nodes Extensions in the specified Pool. ServiceResponseWithHeaders, ComputeNodeExtensionListHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders, ComputeNodeExtensionListHeaders> * @param computeNodeExtensionListNextOptions Additional parameters for the operation
        Returns:
        the PagedList<NodeVMExtension> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation