-
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 botservice/resource-manager] add security fields to directlin…
…e channel site for botservice (#3281) * Generated from ce0ac2b44c1e5b31b498d43341f9c3f2e7b7c66a add security fields to directline channel site * Generated from 409e6ef7de40c5c43a3e0b2d41750b42208c7192 improve documentation for trusted origins field * Generated from d79326c7ea2061fb0a549e536f4bb5525877cc52 actually fix the description
- Loading branch information
1 parent
b1c1057
commit aa16e38
Showing
23 changed files
with
1,110 additions
and
12 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
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
64 changes: 64 additions & 0 deletions
64
azure-mgmt-botservice/azure/mgmt/botservice/models/enterprise_channel.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,64 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class EnterpriseChannel(Resource): | ||
"""Enterprise Channel resource definition. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Specifies the resource ID. | ||
:vartype id: str | ||
:ivar name: Specifies the name of the resource. | ||
:vartype name: str | ||
:param location: Specifies the location of the resource. | ||
:type location: str | ||
:ivar type: Specifies the type of the resource. | ||
:vartype type: str | ||
:param tags: Contains resource tags defined as key/value pairs. | ||
:type tags: dict[str, str] | ||
:param sku: Gets or sets the SKU of the resource. | ||
:type sku: ~azure.mgmt.botservice.models.Sku | ||
:param kind: Required. Gets or sets the Kind of the resource. Possible | ||
values include: 'sdk', 'designer', 'bot', 'function' | ||
:type kind: str or ~azure.mgmt.botservice.models.Kind | ||
:param etag: Entity Tag | ||
:type etag: str | ||
:param properties: The set of properties specific to an Enterprise Channel | ||
resource. | ||
:type properties: | ||
~azure.mgmt.botservice.models.EnterpriseChannelProperties | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': '{str}'}, | ||
'sku': {'key': 'sku', 'type': 'Sku'}, | ||
'kind': {'key': 'kind', 'type': 'str'}, | ||
'etag': {'key': 'etag', 'type': 'str'}, | ||
'properties': {'key': 'properties', 'type': 'EnterpriseChannelProperties'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EnterpriseChannel, self).__init__(**kwargs) | ||
self.properties = kwargs.get('properties', None) |
30 changes: 30 additions & 0 deletions
30
...ervice/azure/mgmt/botservice/models/enterprise_channel_check_name_availability_request.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,30 @@ | ||
# 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 EnterpriseChannelCheckNameAvailabilityRequest(Model): | ||
"""A request to Bot Service Management to check availability of an Enterprise | ||
Channel name. | ||
:param name: The name of the Enterprise Channel for which availability | ||
needs to be checked. | ||
:type name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EnterpriseChannelCheckNameAvailabilityRequest, self).__init__(**kwargs) | ||
self.name = kwargs.get('name', None) |
30 changes: 30 additions & 0 deletions
30
...ce/azure/mgmt/botservice/models/enterprise_channel_check_name_availability_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,30 @@ | ||
# 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 EnterpriseChannelCheckNameAvailabilityRequest(Model): | ||
"""A request to Bot Service Management to check availability of an Enterprise | ||
Channel name. | ||
:param name: The name of the Enterprise Channel for which availability | ||
needs to be checked. | ||
:type name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, **kwargs) -> None: | ||
super(EnterpriseChannelCheckNameAvailabilityRequest, self).__init__(**kwargs) | ||
self.name = name |
34 changes: 34 additions & 0 deletions
34
...rvice/azure/mgmt/botservice/models/enterprise_channel_check_name_availability_response.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,34 @@ | ||
# 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 EnterpriseChannelCheckNameAvailabilityResponse(Model): | ||
"""A request to Bot Service Management to check availability of an Enterprise | ||
Channel name. | ||
:param valid: Indicates if the Enterprise Channel name is valid. | ||
:type valid: bool | ||
:param message: Additional information about why a bot name is not | ||
available. | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'valid': {'key': 'valid', 'type': 'bool'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EnterpriseChannelCheckNameAvailabilityResponse, self).__init__(**kwargs) | ||
self.valid = kwargs.get('valid', None) | ||
self.message = kwargs.get('message', None) |
34 changes: 34 additions & 0 deletions
34
...e/azure/mgmt/botservice/models/enterprise_channel_check_name_availability_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,34 @@ | ||
# 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 EnterpriseChannelCheckNameAvailabilityResponse(Model): | ||
"""A request to Bot Service Management to check availability of an Enterprise | ||
Channel name. | ||
:param valid: Indicates if the Enterprise Channel name is valid. | ||
:type valid: bool | ||
:param message: Additional information about why a bot name is not | ||
available. | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'valid': {'key': 'valid', 'type': 'bool'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, valid: bool=None, message: str=None, **kwargs) -> None: | ||
super(EnterpriseChannelCheckNameAvailabilityResponse, self).__init__(**kwargs) | ||
self.valid = valid | ||
self.message = message |
Oops, something went wrong.