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

[AutoPR compute/resource-manager] [Please do not merge] Adding provisionAfterExtensions property for ex… #3996

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
:ivar provisioning_state: The provisioning state, which only appears in
the response.
:vartype provisioning_state: str
:param provision_after_extensions: Collection of extension names after
which this extension needs to be provisioned.
:type provision_after_extensions: list[str]
"""

_validation = {
Expand All @@ -65,6 +68,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'},
}

def __init__(self, **kwargs):
Expand All @@ -78,3 +82,4 @@ def __init__(self, **kwargs):
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)
self.provisioning_state = None
self.provision_after_extensions = kwargs.get('provision_after_extensions', None)
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
:ivar provisioning_state: The provisioning state, which only appears in
the response.
:vartype provisioning_state: str
:param provision_after_extensions: Collection of extension names after
which this extension needs to be provisioned.
:type provision_after_extensions: list[str]
"""

_validation = {
Expand All @@ -65,9 +68,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'},
}

def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, **kwargs) -> None:
def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, provision_after_extensions=None, **kwargs) -> None:
super(VirtualMachineScaleSetExtension, self).__init__(**kwargs)
self.name = name
self.force_update_tag = force_update_tag
Expand All @@ -78,3 +82,4 @@ def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str
self.settings = settings
self.protected_settings = protected_settings
self.provisioning_state = None
self.provision_after_extensions = provision_after_extensions
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
:ivar provisioning_state: The provisioning state, which only appears in
the response.
:vartype provisioning_state: str
:param provision_after_extensions: Collection of extension names after
which this extension needs to be provisioned.
:type provision_after_extensions: list[str]
"""

_validation = {
Expand All @@ -65,6 +68,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'},
}

def __init__(self, **kwargs):
Expand All @@ -78,3 +82,4 @@ def __init__(self, **kwargs):
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)
self.provisioning_state = None
self.provision_after_extensions = kwargs.get('provision_after_extensions', None)
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
:ivar provisioning_state: The provisioning state, which only appears in
the response.
:vartype provisioning_state: str
:param provision_after_extensions: Collection of extension names after
which this extension needs to be provisioned.
:type provision_after_extensions: list[str]
"""

_validation = {
Expand All @@ -65,9 +68,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'},
}

def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, **kwargs) -> None:
def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, provision_after_extensions=None, **kwargs) -> None:
super(VirtualMachineScaleSetExtension, self).__init__(**kwargs)
self.name = name
self.force_update_tag = force_update_tag
Expand All @@ -78,3 +82,4 @@ def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str
self.settings = settings
self.protected_settings = protected_settings
self.provisioning_state = None
self.provision_after_extensions = provision_after_extensions