Interface ExtensionsClient


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

      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExtensionInner>,​ExtensionInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String clusterRp,
                                                                                                                                              String clusterResourceName,
                                                                                                                                              String clusterName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension)
        Create a new Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        extension - Properties necessary to Create an Extension.
        Returns:
        the SyncPoller for polling of the Extension object.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExtensionInner>,​ExtensionInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String clusterRp,
                                                                                                                                              String clusterResourceName,
                                                                                                                                              String clusterName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension,
                                                                                                                                              com.azure.core.util.Context context)
        Create a new Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        extension - Properties necessary to Create an Extension.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the Extension object.
        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.
      • create

        ExtensionInner create​(String resourceGroupName,
                              String clusterRp,
                              String clusterResourceName,
                              String clusterName,
                              String extensionName,
                              ExtensionInner extension)
        Create a new Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        extension - Properties necessary to Create an Extension.
        Returns:
        the Extension object.
        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.
      • create

        ExtensionInner create​(String resourceGroupName,
                              String clusterRp,
                              String clusterResourceName,
                              String clusterName,
                              String extensionName,
                              ExtensionInner extension,
                              com.azure.core.util.Context context)
        Create a new Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        extension - Properties necessary to Create an Extension.
        context - The context to associate with this operation.
        Returns:
        the Extension object.
        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

        ExtensionInner get​(String resourceGroupName,
                           String clusterRp,
                           String clusterResourceName,
                           String clusterName,
                           String extensionName)
        Gets Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        Returns:
        kubernetes Cluster Extension.
        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<ExtensionInner> getWithResponse​(String resourceGroupName,
                                                                          String clusterRp,
                                                                          String clusterResourceName,
                                                                          String clusterName,
                                                                          String extensionName,
                                                                          com.azure.core.util.Context context)
        Gets Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        context - The context to associate with this operation.
        Returns:
        kubernetes Cluster Extension 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterRp,
                                                                                                                          String clusterResourceName,
                                                                                                                          String clusterName,
                                                                                                                          String extensionName,
                                                                                                                          Boolean forceDelete)
        Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        forceDelete - Delete the extension resource in Azure - not the normal asynchronous delete.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterRp,
                                                                                                                          String clusterResourceName,
                                                                                                                          String clusterName,
                                                                                                                          String extensionName,
                                                                                                                          Boolean forceDelete,
                                                                                                                          com.azure.core.util.Context context)
        Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        forceDelete - Delete the extension resource in Azure - not the normal asynchronous delete.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • delete

        void delete​(String resourceGroupName,
                    String clusterRp,
                    String clusterResourceName,
                    String clusterName,
                    String extensionName,
                    Boolean forceDelete)
        Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        forceDelete - Delete the extension resource in Azure - not the normal asynchronous delete.
        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 clusterRp,
                    String clusterResourceName,
                    String clusterName,
                    String extensionName)
        Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        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 clusterRp,
                    String clusterResourceName,
                    String clusterName,
                    String extensionName,
                    Boolean forceDelete,
                    com.azure.core.util.Context context)
        Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        forceDelete - Delete the extension resource in Azure - not the normal asynchronous delete.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExtensionInner>,​ExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String clusterRp,
                                                                                                                                              String clusterResourceName,
                                                                                                                                              String clusterName,
                                                                                                                                              String extensionName,
                                                                                                                                              PatchExtension patchExtension)
        Patch an existing Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        patchExtension - Properties to Patch in an existing Extension.
        Returns:
        the SyncPoller for polling of the Extension object.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExtensionInner>,​ExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String clusterRp,
                                                                                                                                              String clusterResourceName,
                                                                                                                                              String clusterName,
                                                                                                                                              String extensionName,
                                                                                                                                              PatchExtension patchExtension,
                                                                                                                                              com.azure.core.util.Context context)
        Patch an existing Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        patchExtension - Properties to Patch in an existing Extension.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the Extension object.
        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.
      • update

        ExtensionInner update​(String resourceGroupName,
                              String clusterRp,
                              String clusterResourceName,
                              String clusterName,
                              String extensionName,
                              PatchExtension patchExtension)
        Patch an existing Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        patchExtension - Properties to Patch in an existing Extension.
        Returns:
        the Extension object.
        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.
      • update

        ExtensionInner update​(String resourceGroupName,
                              String clusterRp,
                              String clusterResourceName,
                              String clusterName,
                              String extensionName,
                              PatchExtension patchExtension,
                              com.azure.core.util.Context context)
        Patch an existing Kubernetes Cluster Extension.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        extensionName - Name of the Extension.
        patchExtension - Properties to Patch in an existing Extension.
        context - The context to associate with this operation.
        Returns:
        the Extension object.
        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<ExtensionInner> list​(String resourceGroupName,
                                                                    String clusterRp,
                                                                    String clusterResourceName,
                                                                    String clusterName)
        List all Extensions in the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        Returns:
        result of the request to list Extensions 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<ExtensionInner> list​(String resourceGroupName,
                                                                    String clusterRp,
                                                                    String clusterResourceName,
                                                                    String clusterName,
                                                                    com.azure.core.util.Context context)
        List all Extensions in the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterRp - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
        clusterResourceName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
        clusterName - The name of the kubernetes cluster.
        context - The context to associate with this operation.
        Returns:
        result of the request to list Extensions 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.