-
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.
[AutoPR cognitiveservices/data-plane/LUIS/Authoring] Adding azure acc…
…ounts APIs (#3869) * Generated from 431fadac7b30b7c33b9fa6468874fce839869345 fixing build errors * Packaging update of azure-cognitiveservices-language-luis * Generated from 82cee8e19ad81e9d82d712cfabad1649b91b619a Merge pull request #1 from omarelhariry/a-moghan/PublishingResponses Adding Publishing To Regions Status * Generated from 23a7c077da0b751b8ad2b246d8da041d0906f90d Fixing formats * Generated from 4289fc27afed08636bf27abb57ace4a1ff69b7ee Fixing OAV errors * Generated from 3b62ef631bbcf684da8597627f22d1869bb37c7d Merge pull request #2 from omarelhariry/kayousef/Dispatch_APIs Adding dispatch APIs * Generated from 4289fc27afed08636bf27abb57ace4a1ff69b7ee Fixing OAV errors * Generated from c7d11c54fe4f164073a570f2dba2510ddbf91c76 Add application-json as a 2nd prdocues format for packaging APIs, to describe the error responses * Generated from b8ee038af90c620395c27635c989a3a6364335a4 Updating operation ids * Generated from 32e19a3f178eab8d32f3fd79316bbaf7569ca7c8 fix oav and remove error responses * Update sdk_packaging.toml * Packaging update of azure-cognitiveservices-language-luis
- Loading branch information
1 parent
b4875bb
commit 15064fd
Showing
25 changed files
with
554 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
include *.rst | ||
include azure_bdist_wheel.py | ||
include azure/__init__.py | ||
include azure/cognitiveservices/__init__.py | ||
include azure/cognitiveservices/language/__init__.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 |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
2 changes: 1 addition & 1 deletion
2
azure-cognitiveservices-language-luis/azure/cognitiveservices/__init__.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 |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
2 changes: 1 addition & 1 deletion
2
azure-cognitiveservices-language-luis/azure/cognitiveservices/language/__init__.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 |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
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
44 changes: 44 additions & 0 deletions
44
...-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.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,44 @@ | ||
# 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 AzureAccountInfoObject(Model): | ||
"""Defines the azure account information object. | ||
All required parameters must be populated in order to send to Azure. | ||
:param azure_subscription_id: Required. The id for the azure subscription. | ||
:type azure_subscription_id: str | ||
:param resource_group: Required. The azure resource group name. | ||
:type resource_group: str | ||
:param account_name: Required. The azure account name. | ||
:type account_name: str | ||
""" | ||
|
||
_validation = { | ||
'azure_subscription_id': {'required': True}, | ||
'resource_group': {'required': True}, | ||
'account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'azure_subscription_id': {'key': 'azureSubscriptionId', 'type': 'str'}, | ||
'resource_group': {'key': 'resourceGroup', 'type': 'str'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureAccountInfoObject, self).__init__(**kwargs) | ||
self.azure_subscription_id = kwargs.get('azure_subscription_id', None) | ||
self.resource_group = kwargs.get('resource_group', None) | ||
self.account_name = kwargs.get('account_name', None) |
44 changes: 44 additions & 0 deletions
44
...s/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_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,44 @@ | ||
# 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 AzureAccountInfoObject(Model): | ||
"""Defines the azure account information object. | ||
All required parameters must be populated in order to send to Azure. | ||
:param azure_subscription_id: Required. The id for the azure subscription. | ||
:type azure_subscription_id: str | ||
:param resource_group: Required. The azure resource group name. | ||
:type resource_group: str | ||
:param account_name: Required. The azure account name. | ||
:type account_name: str | ||
""" | ||
|
||
_validation = { | ||
'azure_subscription_id': {'required': True}, | ||
'resource_group': {'required': True}, | ||
'account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'azure_subscription_id': {'key': 'azureSubscriptionId', 'type': 'str'}, | ||
'resource_group': {'key': 'resourceGroup', 'type': 'str'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, azure_subscription_id: str, resource_group: str, account_name: str, **kwargs) -> None: | ||
super(AzureAccountInfoObject, self).__init__(**kwargs) | ||
self.azure_subscription_id = azure_subscription_id | ||
self.resource_group = resource_group | ||
self.account_name = account_name |
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
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
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
Oops, something went wrong.