AutoScaleVCoresOperations Class

AutoScaleVCoresOperations 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
AutoScaleVCoresOperations

Constructor

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

create

Provisions the specified auto scale v-core based on the configuration specified in the request.

delete

Deletes the specified auto scale v-core.

get

Gets details about the specified auto scale v-core.

list_by_resource_group

Gets all the auto scale v-cores for the given resource group.

list_by_subscription

Lists all the auto scale v-cores for the given subscription.

update

Updates the current state of the specified auto scale v-core.

create

Provisions the specified auto scale v-core based on the configuration specified in the request.

async create(resource_group_name: str, vcore_name: str, v_core_parameters: azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCore, **kwargs) -> azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCore

Parameters

resource_group_name
str
Required

The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

vcore_name
str
Required

The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

v_core_parameters
AutoScaleVCore
Required

Contains the information used to provision the auto scale v-core.

cls
callable

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

Returns

AutoScaleVCore, or the result of cls(response)

Return type

Exceptions

delete

Deletes the specified auto scale v-core.

async delete(resource_group_name: str, vcore_name: str, **kwargs) -> None

Parameters

resource_group_name
str
Required

The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

vcore_name
str
Required

The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

cls
callable

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

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Gets details about the specified auto scale v-core.

async get(resource_group_name: str, vcore_name: str, **kwargs) -> azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCore

Parameters

resource_group_name
str
Required

The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

vcore_name
str
Required

The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

cls
callable

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

Returns

AutoScaleVCore, or the result of cls(response)

Return type

Exceptions

list_by_resource_group

Gets all the auto scale v-cores for the given resource group.

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

Parameters

resource_group_name
str
Required

The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

cls
callable

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

Returns

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

Return type

Exceptions

list_by_subscription

Lists all the auto scale v-cores for the given subscription.

list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCoreListResult]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

update

Updates the current state of the specified auto scale v-core.

async update(resource_group_name: str, vcore_name: str, v_core_update_parameters: azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCoreUpdateParameters, **kwargs) -> azure.mgmt.powerbidedicated.models._models_py3.AutoScaleVCore

Parameters

resource_group_name
str
Required

The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

vcore_name
str
Required

The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

v_core_update_parameters
AutoScaleVCoreUpdateParameters
Required

Request object that contains the updated information for the auto scale v-core.

cls
callable

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

Returns

AutoScaleVCore, or the result of cls(response)

Return type

Exceptions

Attributes

models

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