OrganizationOperations Class

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

Constructor

OrganizationOperations(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

Create Organization resource.

Create Organization resource.

begin_delete

Delete Organization resource.

Delete Organization resource.

get

Get the properties of a specific Organization resource.

Get the properties of a specific Organization resource.

list_by_resource_group

List all Organizations under the specified resource group.

List all Organizations under the specified resource group.

list_by_subscription

List all organizations under the specified subscription.

List all organizations under the specified subscription.

update

Update Organization resource.

Update Organization resource.

begin_create

Create Organization resource.

Create Organization resource.

async begin_create(resource_group_name: str, organization_name: str, body: Optional[azure.mgmt.confluent.models._models_py3.OrganizationResource] = None, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.confluent.models._models_py3.OrganizationResource]

Parameters

resource_group_name
str
Required

Resource group name.

organization_name
str
Required

Organization resource name.

body
OrganizationResource
default value: None

Organization resource model.

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

True for ARMPolling, False for no polling, or a polling object for 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 OrganizationResource or the result of cls(response)

Return type

Exceptions

begin_delete

Delete Organization resource.

Delete Organization resource.

async begin_delete(resource_group_name: str, organization_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]

Parameters

resource_group_name
str
Required

Resource group name.

organization_name
str
Required

Organization resource name.

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

True for ARMPolling, False for no polling, or a polling object for 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

Get the properties of a specific Organization resource.

Get the properties of a specific Organization resource.

async get(resource_group_name: str, organization_name: str, **kwargs) -> azure.mgmt.confluent.models._models_py3.OrganizationResource

Parameters

resource_group_name
str
Required

Resource group name.

organization_name
str
Required

Organization resource name.

cls
callable

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

Returns

OrganizationResource, or the result of cls(response)

Return type

Exceptions

list_by_resource_group

List all Organizations under the specified resource group.

List all Organizations under the specified resource group.

list_by_resource_group(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.confluent.models._models_py3.OrganizationResourceListResult]

Parameters

resource_group_name
str
Required

Resource group name.

cls
callable

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

Returns

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

Return type

Exceptions

list_by_subscription

List all organizations under the specified subscription.

List all organizations under the specified subscription.

list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.confluent.models._models_py3.OrganizationResourceListResult]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

update

Update Organization resource.

Update Organization resource.

async update(resource_group_name: str, organization_name: str, body: Optional[azure.mgmt.confluent.models._models_py3.OrganizationResourceUpdate] = None, **kwargs) -> azure.mgmt.confluent.models._models_py3.OrganizationResource

Parameters

resource_group_name
str
Required

Resource group name.

organization_name
str
Required

Organization resource name.

body
OrganizationResourceUpdate
default value: None

Updated Organization resource.

cls
callable

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

Returns

OrganizationResource, or the result of cls(response)

Return type

Exceptions

Attributes

models

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