NodeTypesOperations Class
NodeTypesOperations async 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.objectNodeTypesOperations
Constructor
NodeTypesOperations(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 |
Creates or updates a Service Fabric node type. Create or update a Service Fabric node type of a given managed cluster. |
| begin_delete |
Deletes a Service Fabric node type. Delete a Service Fabric node type of a given managed cluster. |
| begin_delete_node |
Deletes one or more nodes on the node type. Deletes one or more nodes on the node type. It will disable the fabric nodes, trigger a delete on the VMs and removes the state from the cluster. |
| begin_reimage |
Reimages one or more nodes on the node type. Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again. |
| begin_restart |
Restarts one or more nodes on the node type. Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again. |
| get |
Gets a Service Fabric node type. Get a Service Fabric node type of a given managed cluster. |
| list_by_managed_clusters |
Gets the list of Node types of the specified managed cluster. Gets all Node types of the specified managed cluster. |
| update |
Update the tags of a node type resource of a given managed cluster. Update the configuration of a node type of a given managed cluster, only updating tags. |
begin_create_or_update
Creates or updates a Service Fabric node type.
Create or update a Service Fabric node type of a given managed cluster.
async begin_create_or_update(resource_group_name: str, cluster_name: str, node_type_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeType, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeType]
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.NodeType>
The node type resource.
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either NodeType or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes a Service Fabric node type.
Delete a Service Fabric node type of a given managed cluster.
async begin_delete(resource_group_name: str, cluster_name: str, node_type_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_delete_node
Deletes one or more nodes on the node type.
Deletes one or more nodes on the node type. It will disable the fabric nodes, trigger a delete on the VMs and removes the state from the cluster.
async begin_delete_node(resource_group_name: str, cluster_name: str, node_type_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeTypeActionParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.NodeTypeActionParameters>
parameters for delete action.
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_reimage
Reimages one or more nodes on the node type.
Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
async begin_reimage(resource_group_name: str, cluster_name: str, node_type_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeTypeActionParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.NodeTypeActionParameters>
parameters for reimage action.
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_restart
Restarts one or more nodes on the node type.
Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again.
async begin_restart(resource_group_name: str, cluster_name: str, node_type_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeTypeActionParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.NodeTypeActionParameters>
parameters for restart action.
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
get
Gets a Service Fabric node type.
Get a Service Fabric node type of a given managed cluster.
async get(resource_group_name: str, cluster_name: str, node_type_name: str, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeType
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
NodeType, or the result of cls(response)
Return type
Exceptions
list_by_managed_clusters
Gets the list of Node types of the specified managed cluster.
Gets all Node types of the specified managed cluster.
list_by_managed_clusters(resource_group_name: str, cluster_name: str, **kwargs) -> AsyncIterable[azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeTypeListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either NodeTypeListResult or the result of cls(response)
Return type
Exceptions
update
Update the tags of a node type resource of a given managed cluster.
Update the configuration of a node type of a given managed cluster, only updating tags.
async update(resource_group_name: str, cluster_name: str, node_type_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeTypeUpdateParameters, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.NodeType
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.NodeTypeUpdateParameters>
The parameters to update the node type configuration.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
NodeType, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.servicefabricmanagedclusters.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\servicefabricmanagedclusters\\models\\__init__.py'>
Feedback
Submit and view feedback for