Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/hdinsight/azure-mgmt-hdinsight/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].1",
"@autorest/[email protected]"
],
"commit": "6a38cb16662cd02a3659665f9242d5ce011e032e",
"commit": "3566c94f1f4e3716b3801bdec259328151dcdeae",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/hdinsight/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected] --version=3.4.2",
"autorest_command": "autorest specification/hdinsight/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected] --version=3.4.2",
"readme": "specification/hdinsight/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "8.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -2734,10 +2734,9 @@ def __init__(
class SecurityProfile(msrest.serialization.Model):
"""The security profile which contains Ssh public key for the HDInsight cluster.

Variables are only populated by the server, and will be ignored when sending a request.

:ivar directory_type: The directory type. Default value: "ActiveDirectory".
:vartype directory_type: str
:param directory_type: The directory type. The only acceptable values to pass in are None and
"ActiveDirectory". The default value is None.
:type directory_type: str
:param domain: The organization's active directory domain.
:type domain: str
:param organizational_unit_dn: The organizational unit within the Active Directory to place the
Expand All @@ -2758,10 +2757,6 @@ class SecurityProfile(msrest.serialization.Model):
:type msi_resource_id: str
"""

_validation = {
'directory_type': {'constant': True},
}

_attribute_map = {
'directory_type': {'key': 'directoryType', 'type': 'str'},
'domain': {'key': 'domain', 'type': 'str'},
Expand All @@ -2774,13 +2769,12 @@ class SecurityProfile(msrest.serialization.Model):
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
}

directory_type = "ActiveDirectory"

def __init__(
self,
**kwargs
):
super(SecurityProfile, self).__init__(**kwargs)
self.directory_type = kwargs.get('directory_type', None)
self.domain = kwargs.get('domain', None)
self.organizational_unit_dn = kwargs.get('organizational_unit_dn', None)
self.ldaps_urls = kwargs.get('ldaps_urls', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3074,10 +3074,9 @@ def __init__(
class SecurityProfile(msrest.serialization.Model):
"""The security profile which contains Ssh public key for the HDInsight cluster.

Variables are only populated by the server, and will be ignored when sending a request.

:ivar directory_type: The directory type. Default value: "ActiveDirectory".
:vartype directory_type: str
:param directory_type: The directory type. The only acceptable values to pass in are None and
"ActiveDirectory". The default value is None.
:type directory_type: str
:param domain: The organization's active directory domain.
:type domain: str
:param organizational_unit_dn: The organizational unit within the Active Directory to place the
Expand All @@ -3098,10 +3097,6 @@ class SecurityProfile(msrest.serialization.Model):
:type msi_resource_id: str
"""

_validation = {
'directory_type': {'constant': True},
}

_attribute_map = {
'directory_type': {'key': 'directoryType', 'type': 'str'},
'domain': {'key': 'domain', 'type': 'str'},
Expand All @@ -3114,11 +3109,10 @@ class SecurityProfile(msrest.serialization.Model):
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
}

directory_type = "ActiveDirectory"

def __init__(
self,
*,
directory_type: Optional[str] = None,
domain: Optional[str] = None,
organizational_unit_dn: Optional[str] = None,
ldaps_urls: Optional[List[str]] = None,
Expand All @@ -3130,6 +3124,7 @@ def __init__(
**kwargs
):
super(SecurityProfile, self).__init__(**kwargs)
self.directory_type = directory_type
self.domain = domain
self.organizational_unit_dn = organizational_unit_dn
self.ldaps_urls = ldaps_urls
Expand Down