FluxConfigurationsOperations Class
FluxConfigurationsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectFluxConfigurationsOperations
Constructor
FluxConfigurationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create_or_update |
Create a new Kubernetes Flux Configuration. |
| begin_delete |
This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from the source repo. |
| begin_update |
Update an existing Kubernetes Flux Configuration. |
| get |
Gets details of the Flux Configuration. |
| list |
List all Flux Configurations. |
begin_create_or_update
Create a new Kubernetes Flux Configuration.
begin_create_or_update(resource_group_name: str, cluster_rp: str, cluster_resource_name: str, cluster_name: str, flux_configuration_name: str, flux_configuration: azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfiguration, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfiguration]
Parameters
- cluster_rp
- str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- cluster_resource_name
- str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either FluxConfiguration or the result of cls(response)
Return type
Exceptions
begin_delete
This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from the source repo.
begin_delete(resource_group_name: str, cluster_rp: str, cluster_resource_name: str, cluster_name: str, flux_configuration_name: str, force_delete: Optional[bool] = None, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]
Parameters
- cluster_rp
- str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- cluster_resource_name
- str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- force_delete
- bool
Delete the extension resource in Azure - not the normal asynchronous delete.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_update
Update an existing Kubernetes Flux Configuration.
begin_update(resource_group_name: str, cluster_rp: str, cluster_resource_name: str, cluster_name: str, flux_configuration_name: str, flux_configuration_patch: azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfigurationPatch, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfiguration]
Parameters
- cluster_rp
- str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- cluster_resource_name
- str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- flux_configuration_patch
- FluxConfigurationPatch
Properties to Patch in an existing Flux Configuration.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either FluxConfiguration or the result of cls(response)
Return type
Exceptions
get
Gets details of the Flux Configuration.
get(resource_group_name: str, cluster_rp: str, cluster_resource_name: str, cluster_name: str, flux_configuration_name: str, **kwargs: Any) -> azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfiguration
Parameters
- cluster_rp
- str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- cluster_resource_name
- str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
FluxConfiguration, or the result of cls(response)
Return type
Exceptions
list
List all Flux Configurations.
list(resource_group_name: str, cluster_rp: str, cluster_resource_name: str, cluster_name: str, **kwargs: Any) -> Iterable[azure.mgmt.kubernetesconfiguration.v2022_03_01.models._models_py3.FluxConfigurationsList]
Parameters
- cluster_rp
- str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- cluster_resource_name
- str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either FluxConfigurationsList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.kubernetesconfiguration.v2022_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\kubernetesconfiguration\\v2022_03_01\\models\\__init__.py'>
Feedback
Submit and view feedback for