Interface SourceControlConfigurationsClient
-
public interface SourceControlConfigurationsClient
An instance of this class provides access to all the operations defined in SourceControlConfigurationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, com.azure.core.util.Context context)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.SourceControlConfigurationInner
createOrUpdate(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, SourceControlConfigurationInner sourceControlConfiguration)
Create a new Kubernetes Source Control Configuration.com.azure.core.http.rest.Response<SourceControlConfigurationInner>
createOrUpdateWithResponse(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, SourceControlConfigurationInner sourceControlConfiguration, com.azure.core.util.Context context)
Create a new Kubernetes Source Control Configuration.void
delete(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.void
delete(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, com.azure.core.util.Context context)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.SourceControlConfigurationInner
get(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName)
Gets details of the Source Control Configuration.com.azure.core.http.rest.Response<SourceControlConfigurationInner>
getWithResponse(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, com.azure.core.util.Context context)
Gets details of the Source Control Configuration.com.azure.core.http.rest.PagedIterable<SourceControlConfigurationInner>
list(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName)
List all Source Control Configurations.com.azure.core.http.rest.PagedIterable<SourceControlConfigurationInner>
list(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, com.azure.core.util.Context context)
List all Source Control Configurations.
-
-
-
Method Detail
-
get
SourceControlConfigurationInner get(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName)
Gets details of the Source Control Configuration.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.- Returns:
- details of the Source Control Configuration.
- 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<SourceControlConfigurationInner> getWithResponse(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, com.azure.core.util.Context context)
Gets details of the Source Control Configuration.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.context
- The context to associate with this operation.- Returns:
- details of the Source Control Configuration 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
SourceControlConfigurationInner createOrUpdate(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, SourceControlConfigurationInner sourceControlConfiguration)
Create a new Kubernetes Source Control Configuration.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.sourceControlConfiguration
- Properties necessary to Create KubernetesConfiguration.- Returns:
- the SourceControl Configuration object returned in Get & Put 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SourceControlConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, String sourceControlConfigurationName, SourceControlConfigurationInner sourceControlConfiguration, com.azure.core.util.Context context)
Create a new Kubernetes Source Control Configuration.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.sourceControlConfiguration
- Properties necessary to Create KubernetesConfiguration.context
- The context to associate with this operation.- Returns:
- the SourceControl Configuration object returned in Get & Put response 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 sourceControlConfigurationName)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.- 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 sourceControlConfigurationName, com.azure.core.util.Context context)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.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 sourceControlConfigurationName)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.- 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 sourceControlConfigurationName, com.azure.core.util.Context context)
This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.- 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.sourceControlConfigurationName
- Name of the Source Control Configuration.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.
-
list
com.azure.core.http.rest.PagedIterable<SourceControlConfigurationInner> list(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName)
List all Source Control Configurations.- 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 Source Control Configurations 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<SourceControlConfigurationInner> list(String resourceGroupName, String clusterRp, String clusterResourceName, String clusterName, com.azure.core.util.Context context)
List all Source Control Configurations.- 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 Source Control Configurations 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.
-
-