-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
azure-mgmt-powerbiembedded_2.0.0 (#2632)
* Regenerated from d2bb2fe * PBI auto packaging * azure-mgmt-powerbiembedded 2.0.0
- Loading branch information
Showing
43 changed files
with
903 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
azure-mgmt-powerbiembedded/azure/mgmt/powerbiembedded/models/azure_sku_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AzureSku(Model): | ||
"""AzureSku. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
All required parameters must be populated in order to send to Azure. | ||
:ivar name: Required. SKU name. Default value: "S1" . | ||
:vartype name: str | ||
:ivar tier: Required. SKU tier. Default value: "Standard" . | ||
:vartype tier: str | ||
""" | ||
|
||
_validation = { | ||
'name': {'required': True, 'constant': True}, | ||
'tier': {'required': True, 'constant': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'tier': {'key': 'tier', 'type': 'str'}, | ||
} | ||
|
||
name = "S1" | ||
|
||
tier = "Standard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
azure-mgmt-powerbiembedded/azure/mgmt/powerbiembedded/models/check_name_request_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CheckNameRequest(Model): | ||
"""CheckNameRequest. | ||
:param name: Workspace collection name | ||
:type name: str | ||
:param type: Resource type. Default value: | ||
"Microsoft.PowerBI/workspaceCollections" . | ||
:type type: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, type: str="Microsoft.PowerBI/workspaceCollections", **kwargs) -> None: | ||
super(CheckNameRequest, self).__init__(**kwargs) | ||
self.name = name | ||
self.type = type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
azure-mgmt-powerbiembedded/azure/mgmt/powerbiembedded/models/check_name_response_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CheckNameResponse(Model): | ||
"""CheckNameResponse. | ||
:param name_available: Specifies a Boolean value that indicates whether | ||
the specified Power BI Workspace Collection name is available to use. | ||
:type name_available: bool | ||
:param reason: Reason why the workspace collection name cannot be used. | ||
Possible values include: 'Unavailable', 'Invalid' | ||
:type reason: str or ~azure.mgmt.powerbiembedded.models.CheckNameReason | ||
:param message: Message indicating an unavailable name due to a conflict, | ||
or a description of the naming rules that are violated. | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name_available': {'key': 'nameAvailable', 'type': 'bool'}, | ||
'reason': {'key': 'reason', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name_available: bool=None, reason=None, message: str=None, **kwargs) -> None: | ||
super(CheckNameResponse, self).__init__(**kwargs) | ||
self.name_available = name_available | ||
self.reason = reason | ||
self.message = message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...erbiembedded/azure/mgmt/powerbiembedded/models/create_workspace_collection_request_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .azure_sku import AzureSku | ||
from msrest.serialization import Model | ||
|
||
|
||
class CreateWorkspaceCollectionRequest(Model): | ||
"""CreateWorkspaceCollectionRequest. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param location: Azure location | ||
:type location: str | ||
:param tags: | ||
:type tags: dict[str, str] | ||
:ivar sku: | ||
:vartype sku: ~azure.mgmt.powerbiembedded.models.AzureSku | ||
""" | ||
|
||
_validation = { | ||
'sku': {'constant': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': '{str}'}, | ||
'sku': {'key': 'sku', 'type': 'AzureSku'}, | ||
} | ||
|
||
sku = AzureSku() | ||
|
||
def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: | ||
super(CreateWorkspaceCollectionRequest, self).__init__(**kwargs) | ||
self.location = location | ||
self.tags = tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.