Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-compute] Updating Compute Diagnostic RP's Swagger API .(Ref PR: https://github.com/Azure/azure-rest-api-specs/pull/18317) #19355

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
8 changes: 4 additions & 4 deletions sdk/compute/azure-mgmt-compute/_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].1",
"@autorest/[email protected].2"
],
"commit": "f69f2e8053ac8ae352b11c33655234dea4cf4cfd",
"commit": "d92047595da0e0410925301c7d1174c3296e3ebe",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/compute/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].1 --version=3.4.2",
"autorest_command": "autorest specification/compute/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].2 --version=3.4.2",
"readme": "specification/compute/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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
class AdditionalUnattendContent(msrest.serialization.Model):
"""Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

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

:ivar pass_name: The pass name. Currently, the only allowable value is OobeSystem. Default
value: "OobeSystem".
:vartype pass_name: str
:ivar component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. Default value: "Microsoft-Windows-Shell-Setup".
:vartype component_name: str
:param pass_name: The pass name. Currently, the only allowable value is OobeSystem. The only
acceptable values to pass in are None and "OobeSystem". The default value is None.
:type pass_name: str
:param component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. The only acceptable values to pass in are None and
"Microsoft-Windows-Shell-Setup". The default value is None.
:type component_name: str
:param setting_name: Specifies the name of the setting to which the content applies. Possible
values are: FirstLogonCommands and AutoLogon. Possible values include: "AutoLogon",
"FirstLogonCommands".
Expand All @@ -30,26 +29,20 @@ class AdditionalUnattendContent(msrest.serialization.Model):
:type content: str
"""

_validation = {
'pass_name': {'constant': True},
'component_name': {'constant': True},
}

_attribute_map = {
'pass_name': {'key': 'passName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'setting_name': {'key': 'settingName', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
}

pass_name = "OobeSystem"
component_name = "Microsoft-Windows-Shell-Setup"

def __init__(
self,
**kwargs
):
super(AdditionalUnattendContent, self).__init__(**kwargs)
self.pass_name = kwargs.get('pass_name', None)
self.component_name = kwargs.get('component_name', None)
self.setting_name = kwargs.get('setting_name', None)
self.content = kwargs.get('content', None)

Expand Down Expand Up @@ -1281,7 +1274,7 @@ class Usage(msrest.serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar unit: Required. An enum describing the unit of usage measurement. Default value: "Count".
:ivar unit: An enum describing the unit of usage measurement. Has constant value: "Count".
:vartype unit: str
:param current_value: Required. The current usage of the resource.
:type current_value: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
class AdditionalUnattendContent(msrest.serialization.Model):
"""Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

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

:ivar pass_name: The pass name. Currently, the only allowable value is OobeSystem. Default
value: "OobeSystem".
:vartype pass_name: str
:ivar component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. Default value: "Microsoft-Windows-Shell-Setup".
:vartype component_name: str
:param pass_name: The pass name. Currently, the only allowable value is OobeSystem. The only
acceptable values to pass in are None and "OobeSystem". The default value is None.
:type pass_name: str
:param component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. The only acceptable values to pass in are None and
"Microsoft-Windows-Shell-Setup". The default value is None.
:type component_name: str
:param setting_name: Specifies the name of the setting to which the content applies. Possible
values are: FirstLogonCommands and AutoLogon. Possible values include: "AutoLogon",
"FirstLogonCommands".
Expand All @@ -35,29 +34,25 @@ class AdditionalUnattendContent(msrest.serialization.Model):
:type content: str
"""

_validation = {
'pass_name': {'constant': True},
'component_name': {'constant': True},
}

_attribute_map = {
'pass_name': {'key': 'passName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'setting_name': {'key': 'settingName', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
}

pass_name = "OobeSystem"
component_name = "Microsoft-Windows-Shell-Setup"

def __init__(
self,
*,
pass_name: Optional[str] = None,
component_name: Optional[str] = None,
setting_name: Optional[Union[str, "SettingNames"]] = None,
content: Optional[str] = None,
**kwargs
):
super(AdditionalUnattendContent, self).__init__(**kwargs)
self.pass_name = pass_name
self.component_name = component_name
self.setting_name = setting_name
self.content = content

Expand Down Expand Up @@ -1415,7 +1410,7 @@ class Usage(msrest.serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar unit: Required. An enum describing the unit of usage measurement. Default value: "Count".
:ivar unit: An enum describing the unit of usage measurement. Has constant value: "Count".
:vartype unit: str
:param current_value: Required. The current usage of the resource.
:type current_value: int
Expand Down
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
class AdditionalUnattendContent(msrest.serialization.Model):
"""Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

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

:ivar pass_name: The pass name. Currently, the only allowable value is OobeSystem. Default
value: "OobeSystem".
:vartype pass_name: str
:ivar component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. Default value: "Microsoft-Windows-Shell-Setup".
:vartype component_name: str
:param pass_name: The pass name. Currently, the only allowable value is OobeSystem. The only
acceptable values to pass in are None and "OobeSystem". The default value is None.
:type pass_name: str
:param component_name: The component name. Currently, the only allowable value is
Microsoft-Windows-Shell-Setup. The only acceptable values to pass in are None and
"Microsoft-Windows-Shell-Setup". The default value is None.
:type component_name: str
:param setting_name: Specifies the name of the setting to which the content applies. Possible
values are: FirstLogonCommands and AutoLogon. Possible values include: "AutoLogon",
"FirstLogonCommands".
Expand All @@ -30,26 +29,20 @@ class AdditionalUnattendContent(msrest.serialization.Model):
:type content: str
"""

_validation = {
'pass_name': {'constant': True},
'component_name': {'constant': True},
}

_attribute_map = {
'pass_name': {'key': 'passName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'setting_name': {'key': 'settingName', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
}

pass_name = "OobeSystem"
component_name = "Microsoft-Windows-Shell-Setup"

def __init__(
self,
**kwargs
):
super(AdditionalUnattendContent, self).__init__(**kwargs)
self.pass_name = kwargs.get('pass_name', None)
self.component_name = kwargs.get('component_name', None)
self.setting_name = kwargs.get('setting_name', None)
self.content = kwargs.get('content', None)

Expand Down Expand Up @@ -1283,7 +1276,7 @@ class Usage(msrest.serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar unit: Required. An enum describing the unit of usage measurement. Default value: "Count".
:ivar unit: An enum describing the unit of usage measurement. Has constant value: "Count".
:vartype unit: str
:param current_value: Required. The current usage of the resource.
:type current_value: int
Expand Down Expand Up @@ -1912,16 +1905,15 @@ class VirtualMachineIdentity(msrest.serialization.Model):
:vartype principal_id: str
:ivar tenant_id: The tenant id associated with the virtual machine.
:vartype tenant_id: str
:ivar type: The type of identity used for the virtual machine. Currently, the only supported
type is 'SystemAssigned', which implicitly creates an identity. Default value:
"SystemAssigned".
:vartype type: str
:param type: The type of identity used for the virtual machine. Currently, the only supported
type is 'SystemAssigned', which implicitly creates an identity. The only acceptable values to
pass in are None and "SystemAssigned". The default value is None.
:type type: str
"""

_validation = {
'principal_id': {'readonly': True},
'tenant_id': {'readonly': True},
'type': {'constant': True},
}

_attribute_map = {
Expand All @@ -1930,15 +1922,14 @@ class VirtualMachineIdentity(msrest.serialization.Model):
'type': {'key': 'type', 'type': 'str'},
}

type = "SystemAssigned"

def __init__(
self,
**kwargs
):
super(VirtualMachineIdentity, self).__init__(**kwargs)
self.principal_id = None
self.tenant_id = None
self.type = kwargs.get('type', None)


class VirtualMachineImageResource(SubResource):
Expand Down Expand Up @@ -2263,16 +2254,15 @@ class VirtualMachineScaleSetIdentity(msrest.serialization.Model):
:vartype principal_id: str
:ivar tenant_id: The tenant id associated with the virtual machine scale set.
:vartype tenant_id: str
:ivar type: The type of identity used for the virtual machine scale set. Currently, the only
supported type is 'SystemAssigned', which implicitly creates an identity. Default value:
"SystemAssigned".
:vartype type: str
:param type: The type of identity used for the virtual machine scale set. Currently, the only
supported type is 'SystemAssigned', which implicitly creates an identity. The only acceptable
values to pass in are None and "SystemAssigned". The default value is None.
:type type: str
"""

_validation = {
'principal_id': {'readonly': True},
'tenant_id': {'readonly': True},
'type': {'constant': True},
}

_attribute_map = {
Expand All @@ -2281,15 +2271,14 @@ class VirtualMachineScaleSetIdentity(msrest.serialization.Model):
'type': {'key': 'type', 'type': 'str'},
}

type = "SystemAssigned"

def __init__(
self,
**kwargs
):
super(VirtualMachineScaleSetIdentity, self).__init__(**kwargs)
self.principal_id = None
self.tenant_id = None
self.type = kwargs.get('type', None)


class VirtualMachineScaleSetInstanceView(msrest.serialization.Model):
Expand Down
Loading