AutoScaleVCoresOperations Class
AutoScaleVCoresOperations 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.objectAutoScaleVCoresOperations
Constructor
AutoScaleVCoresOperations(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
| 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.
create(resource_group_name: str, vcore_name: str, v_core_parameters: _models.AutoScaleVCore, **kwargs: Any) -> _models.AutoScaleVCore
Parameters
- resource_group_name
- str
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
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
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.
delete(resource_group_name: str, vcore_name: str, **kwargs: Any) -> None
Parameters
- resource_group_name
- str
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
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.
get(resource_group_name: str, vcore_name: str, **kwargs: Any) -> _models.AutoScaleVCore
Parameters
- resource_group_name
- str
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
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: Any) -> Iterable[_models.AutoScaleVCoreListResult]
Parameters
- resource_group_name
- str
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: Any) -> Iterable[_models.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.
update(resource_group_name: str, vcore_name: str, v_core_update_parameters: _models.AutoScaleVCoreUpdateParameters, **kwargs: Any) -> _models.AutoScaleVCore
Parameters
- resource_group_name
- str
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
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
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'>
Feedback
Submit and view feedback for