Skip to content

Commit

Permalink
powerbidedicated sdk generate (Azure#17585)
Browse files Browse the repository at this point in the history
  • Loading branch information
RAY-316 authored Mar 26, 2021
1 parent 3ca06cc commit 0caa4ba
Show file tree
Hide file tree
Showing 19 changed files with 1,892 additions and 265 deletions.
17 changes: 17 additions & 0 deletions sdk/powerbidedicated/azure-mgmt-powerbidedicated/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Release History

## 1.0.0 (2021-03-26)

**Features**

- Model DedicatedCapacityUpdateParameters has a new parameter mode
- Model DedicatedCapacityMutableProperties has a new parameter mode
- Model Resource has a new parameter system_data
- Model DedicatedCapacity has a new parameter mode
- Model DedicatedCapacity has a new parameter system_data
- Model DedicatedCapacityProperties has a new parameter mode
- Added operation group AutoScaleVCoresOperations

**Breaking changes**

- Model Resource no longer has parameter sku
- Model ErrorResponse has a new signature

## 1.0.0b1 (2020-12-02)

This is beta preview version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# --------------------------------------------------------------------------

from ._power_bi_dedicated import PowerBIDedicated
from ._version import VERSION

__version__ = VERSION
__all__ = ['PowerBIDedicated']

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

VERSION = "unknown"

class PowerBIDedicatedConfiguration(Configuration):
"""Configuration for PowerBIDedicated.
Expand Down Expand Up @@ -48,7 +47,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2017-10-01"
self.api_version = "2021-01-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-powerbidedicated/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from ._configuration import PowerBIDedicatedConfiguration
from .operations import CapacitiesOperations
from .operations import Operations
from .operations import AutoScaleVCoresOperations
from . import models


Expand All @@ -30,6 +31,8 @@ class PowerBIDedicated(object):
:vartype capacities: azure.mgmt.powerbidedicated.operations.CapacitiesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.powerbidedicated.operations.Operations
:ivar auto_scale_vcores: AutoScaleVCoresOperations operations
:vartype auto_scale_vcores: azure.mgmt.powerbidedicated.operations.AutoScaleVCoresOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -60,6 +63,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.auto_scale_vcores = AutoScaleVCoresOperations(
self._client, self._config, self._serialize, self._deserialize)

def close(self):
# type: () -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"

VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

VERSION = "unknown"

class PowerBIDedicatedConfiguration(Configuration):
"""Configuration for PowerBIDedicated.
Expand Down Expand Up @@ -45,7 +44,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2017-10-01"
self.api_version = "2021-01-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-powerbidedicated/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from ._configuration import PowerBIDedicatedConfiguration
from .operations import CapacitiesOperations
from .operations import Operations
from .operations import AutoScaleVCoresOperations
from .. import models


Expand All @@ -28,6 +29,8 @@ class PowerBIDedicated(object):
:vartype capacities: azure.mgmt.powerbidedicated.aio.operations.CapacitiesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.powerbidedicated.aio.operations.Operations
:ivar auto_scale_vcores: AutoScaleVCoresOperations operations
:vartype auto_scale_vcores: azure.mgmt.powerbidedicated.aio.operations.AutoScaleVCoresOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -57,6 +60,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.auto_scale_vcores = AutoScaleVCoresOperations(
self._client, self._config, self._serialize, self._deserialize)

async def close(self) -> None:
await self._client.close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@

from ._capacities_operations import CapacitiesOperations
from ._operations import Operations
from ._auto_scale_vcores_operations import AutoScaleVCoresOperations

__all__ = [
'CapacitiesOperations',
'Operations',
'AutoScaleVCoresOperations',
]
Loading

0 comments on commit 0caa4ba

Please sign in to comment.