ClusterPrincipalAssignmentsOperations Class

ClusterPrincipalAssignmentsOperations 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.object
ClusterPrincipalAssignmentsOperations

Constructor

ClusterPrincipalAssignmentsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

begin_create_or_update

Create a Kusto cluster principalAssignment.

begin_delete

Deletes a Kusto cluster principalAssignment.

check_name_availability

Checks that the principal assignment name is valid and is not already in use.

get

Gets a Kusto cluster principalAssignment.

list

Lists all Kusto cluster principalAssignments.

begin_create_or_update

Create a Kusto cluster principalAssignment.

begin_create_or_update(resource_group_name: str, cluster_name: str, principal_assignment_name: str, parameters: azure.mgmt.kusto.models._models_py3.ClusterPrincipalAssignment, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kusto.models._models_py3.ClusterPrincipalAssignment]

Parameters

resource_group_name
str
Required

The name of the resource group containing the Kusto cluster.

cluster_name
str
Required

The name of the Kusto cluster.

principal_assignment_name
str
Required

The name of the Kusto principalAssignment.

parameters
<xref:kusto_management_client.models.ClusterPrincipalAssignment>
Required

The Kusto cluster principalAssignment's parameters supplied for the operation.

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 ClusterPrincipalAssignment or the result of cls(response)

Return type

LROPoller[<xref:kusto_management_client.models.ClusterPrincipalAssignment>]

Exceptions

begin_delete

Deletes a Kusto cluster principalAssignment.

begin_delete(resource_group_name: str, cluster_name: str, principal_assignment_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]

Parameters

resource_group_name
str
Required

The name of the resource group containing the Kusto cluster.

cluster_name
str
Required

The name of the Kusto cluster.

principal_assignment_name
str
Required

The name of the Kusto principalAssignment.

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

check_name_availability

Checks that the principal assignment name is valid and is not already in use.

check_name_availability(resource_group_name: str, cluster_name: str, principal_assignment_name: azure.mgmt.kusto.models._models_py3.ClusterPrincipalAssignmentCheckNameRequest, **kwargs: Any) -> azure.mgmt.kusto.models._models_py3.CheckNameResult

Parameters

resource_group_name
str
Required

The name of the resource group containing the Kusto cluster.

cluster_name
str
Required

The name of the Kusto cluster.

principal_assignment_name
<xref:kusto_management_client.models.ClusterPrincipalAssignmentCheckNameRequest>
Required

The name of the principal assignment.

cls
callable

A custom type or function that will be passed the direct response

Returns

CheckNameResult, or the result of cls(response)

Return type

<xref:kusto_management_client.models.CheckNameResult>

Exceptions

get

Gets a Kusto cluster principalAssignment.

get(resource_group_name: str, cluster_name: str, principal_assignment_name: str, **kwargs: Any) -> azure.mgmt.kusto.models._models_py3.ClusterPrincipalAssignment

Parameters

resource_group_name
str
Required

The name of the resource group containing the Kusto cluster.

cluster_name
str
Required

The name of the Kusto cluster.

principal_assignment_name
str
Required

The name of the Kusto principalAssignment.

cls
callable

A custom type or function that will be passed the direct response

Returns

ClusterPrincipalAssignment, or the result of cls(response)

Return type

<xref:kusto_management_client.models.ClusterPrincipalAssignment>

Exceptions

list

Lists all Kusto cluster principalAssignments.

list(resource_group_name: str, cluster_name: str, **kwargs: Any) -> Iterable[azure.mgmt.kusto.models._models_py3.ClusterPrincipalAssignmentListResult]

Parameters

resource_group_name
str
Required

The name of the resource group containing the Kusto cluster.

cluster_name
str
Required

The name of the Kusto cluster.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ClusterPrincipalAssignmentListResult or the result of cls(response)

Return type

ItemPaged[<xref:kusto_management_client.models.ClusterPrincipalAssignmentListResult>]

Exceptions

Attributes

models

models = <module 'azure.mgmt.kusto.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\kusto\\models\\__init__.py'>